Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 96949 invoked from network); 3 Jul 2009 12:59:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Jul 2009 12:59:09 -0000 Received: (qmail 40194 invoked by uid 500); 3 Jul 2009 12:59:19 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 40169 invoked by uid 500); 3 Jul 2009 12:59:19 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 40153 invoked by uid 99); 3 Jul 2009 12:59:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jul 2009 12:59:19 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jul 2009 12:59:08 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MMiLn-0007Hi-UZ for users@jackrabbit.apache.org; Fri, 03 Jul 2009 05:58:47 -0700 Message-ID: <24322762.post@talk.nabble.com> Date: Fri, 3 Jul 2009 05:58:47 -0700 (PDT) From: mericet To: users@jackrabbit.apache.org Subject: Unsaved Changes not visible to xpath queries MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: nick.jerram@googlemail.com X-Virus-Checked: Checked by ClamAV on apache.org When I make changes to a Jackrabbit JCR repository using node.addNode(), I can retrieve the newly created node with node.getNode(), or session.getItem(). But when I use an XPath query to retrieve the node, it fails to find it until I save the session. The only xpath query to find it is the simple 'return everything' query //* but that's not very useful. any ideas/suggestions will be welcome thanks -- View this message in context: http://www.nabble.com/Unsaved-Changes-not-visible-to-xpath-queries-tp24322762p24322762.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com.