Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 71473 invoked from network); 23 Apr 2008 12:10:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Apr 2008 12:10:00 -0000 Received: (qmail 31517 invoked by uid 500); 23 Apr 2008 12:10:00 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 31493 invoked by uid 500); 23 Apr 2008 12:10:00 -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 31482 invoked by uid 99); 23 Apr 2008 12:10:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Apr 2008 05:10:00 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Brett.Conoly@digitalinsight.com designates 67.135.240.36 as permitted sender) Received: from [67.135.240.36] (HELO ATLIMS02.corp.ad.diginsite.com) (67.135.240.36) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Apr 2008 12:09:08 +0000 Received: from blackbird2-p.diginsite.com ([172.18.114.5]) by ATLIMS02.corp.ad.diginsite.com with InterScan Message Security Suite; Wed, 23 Apr 2008 08:09:27 -0400 Received: from atlexf01.corp.ad.diginsite.com (atlexf01.corp.ad.diginsite.com [172.18.114.73]) by blackbird2-p.diginsite.com (Tablus Interceptor) for ; Wed, 23 Apr 2008 07:30:33 -0400 Received: from athexm01.corp.ad.diginsite.com ([172.18.124.136]) by atlexf01.corp.ad.diginsite.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 23 Apr 2008 08:09:24 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Using an sql query and ORDER BY Date: Wed, 23 Apr 2008 08:09:24 -0400 Message-ID: <7E79528FEA116746A9B896C817C51E5B02D57C29@athexm01.corp.ad.diginsite.com> In-Reply-To: <7E79528FEA116746A9B896C817C51E5B02D57C28@athexm01.corp.ad.diginsite.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Using an sql query and ORDER BY Thread-Index: AcikjTUJjeLt/QAsTLqEQewq1Mc59QAraA+g References: <7E79528FEA116746A9B896C817C51E5B02D57C28@athexm01.corp.ad.diginsite.com> From: "Conoly, Brett" To: X-OriginalArrivalTime: 23 Apr 2008 12:09:24.0866 (UTC) FILETIME=[DF091620:01C8A53A] X-Tablus-Inspected: yes X-Tablus-Classifications: public X-Tablus-Action: allow X-Virus-Checked: Checked by ClamAV on apache.org Anybody...? -----Original Message----- From: Conoly, Brett=20 Sent: Tuesday, April 22, 2008 11:26 AM To: users@jackrabbit.apache.org Subject: Using an sql query and ORDER BY I'm having a problem using the ORDER BY property of an sql statement right now, it seems that the query is actually running fine, it's just having a problem ordering the nodes as they come back. =20 I'm using =20 SELECT * FROM nt:file WHERE jcr:path LIKE 'absNodePath %' ORDER BY jcr:path and it's not ordering them at all. Basically all I want is to order them by name and it's not working. Any suggestions? Thanks, Brett =20