Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 45607 invoked from network); 3 Nov 2008 08:43:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Nov 2008 08:43:26 -0000 Received: (qmail 96247 invoked by uid 500); 3 Nov 2008 08:43:32 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 96208 invoked by uid 500); 3 Nov 2008 08:43:32 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 96197 invoked by uid 99); 3 Nov 2008 08:43:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2008 00:43:32 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [84.14.163.136] (HELO malachi.anyware-tech.com) (84.14.163.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2008 08:42:17 +0000 Received: from localhost (localhost [127.0.0.1]) by malachi.anyware-tech.com (Postfix) with ESMTP id 263AA2FD91 for ; Mon, 3 Nov 2008 09:42:56 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at malachi.anyware-tech.com Received: from malachi.anyware-tech.com ([127.0.0.1]) by localhost (malachi.anyware-tech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2ZLIWpF7ylp3 for ; Mon, 3 Nov 2008 09:42:52 +0100 (CET) Received: from [10.0.1.122] (krusty.anyware [10.0.1.122]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by malachi.anyware-tech.com (Postfix) with ESMTPSA id F051E2FD8B for ; Mon, 3 Nov 2008 09:42:52 +0100 (CET) Message-ID: <490EB98C.4030906@anyware-tech.com> Date: Mon, 03 Nov 2008 09:42:52 +0100 From: =?ISO-8859-1?Q?S=E9bastien_Launay?= User-Agent: Thunderbird 2.0.0.17 (X11/20080925) MIME-Version: 1.0 To: dev@jackrabbit.apache.org Subject: Re: Get Indentifier of a Node References: <20296859.post@talk.nabble.com> In-Reply-To: <20296859.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, Node.getIdentifier() in JSR 283 is just the new method name for Node.getUUID() (which has been deprecated). But, from what i understand you want to retrieve a node from his identifier so you need to use Session.getNodeByUUID(String) (which is also deprecated and replaced with Session.getNodeByIdentifier(String) in JSR 283). Because these modifications are only method renaming, you already have this feature in JCR 1.0. Regards, -- S�bastien Launay iapilgrim a �crit : > Hi, > In JSR 283 spec, we can get a node by the API Node.getIndentifer(). I don't > know which JR version implement this feature. > I'm using JR 1.4.6, and I see it partly implement JSR 283 such as new query. > If we can use Node.getIndentifer(), it will be a good new for us. > I've just downloaded JR from trunk but can't find any test case for > Node.getIndentifier. > Thanks and Regards, > Van >