Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 71313 invoked from network); 27 Jul 2007 13:31:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jul 2007 13:31:42 -0000 Received: (qmail 12500 invoked by uid 500); 27 Jul 2007 13:31:41 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 12485 invoked by uid 500); 27 Jul 2007 13:31:41 -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 12475 invoked by uid 99); 27 Jul 2007 13:31:41 -0000 Received: from Unknown (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jul 2007 06:31:41 -0700 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 [62.192.10.254] (HELO goobak01.day.com) (62.192.10.254) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jul 2007 13:31:34 +0000 Received: by goobak01.day.com (Postfix, from userid 1212) id 3D2F850865; Fri, 27 Jul 2007 15:26:04 +0200 (CEST) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.235]) by goobak01.day.com (Postfix) with ESMTP id C8D8850862 for ; Fri, 27 Jul 2007 15:26:03 +0200 (CEST) Received: by nz-out-0506.google.com with SMTP id i28so715950nzi for ; Fri, 27 Jul 2007 06:31:12 -0700 (PDT) Received: by 10.115.58.1 with SMTP id l1mr2904288wak.1185543071611; Fri, 27 Jul 2007 06:31:11 -0700 (PDT) Received: by 10.115.72.14 with HTTP; Fri, 27 Jul 2007 06:31:11 -0700 (PDT) Message-ID: <1b0d43d00707270631s2e1c5e90pb6d8250267cb2061@mail.gmail.com> Date: Fri, 27 Jul 2007 15:31:11 +0200 From: "David Nuescheler" Sender: uncled@day.com To: users@jackrabbit.apache.org Subject: Re: Accessing Node.getName() within a query - no jcr:name psuedo property? In-Reply-To: <076101c7d050$f7333d80$e599b880$@co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <076101c7d050$f7333d80$e599b880$@co.uk> X-Google-Sender-Auth: 7fa0c2856cb03bfd X-Virus-Checked: Checked by ClamAV on apache.org Hi Shaun, interesting issue, I haven't thought of that yet. AFAIK there is nothing equivalent to a jcr:name column. I assume that your usecase is probably something that would sort a query result which consists of (let's say) a list of "files" by name. This may well be worth a JIRA issue and maybe even a request for the spec ( jsr-283-comments@jcp.org ). regards, david On 7/27/07, sbarriba wrote: > Hi all, > > We want to use the name of the node within a JCR query - for example within > an ORDER BY. You can get at the path using the pseudo property "jcr:path" > but there is no equivalent "jcr:name". > > > > Are there any ways of doing this that I've missed? > > > > Regards, > > Shaun. > > > >