From users-return-17014-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Fri Feb 11 12:54:59 2011 Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 96000 invoked from network); 11 Feb 2011 12:54:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Feb 2011 12:54:59 -0000 Received: (qmail 16957 invoked by uid 500); 11 Feb 2011 12:54:58 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 16663 invoked by uid 500); 11 Feb 2011 12:54:56 -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 16652 invoked by uid 99); 11 Feb 2011 12:54:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Feb 2011 12:54:55 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jzitting@adobe.com designates 64.18.1.39 as permitted sender) Received: from [64.18.1.39] (HELO exprod6og117.obsmtp.com) (64.18.1.39) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Feb 2011 12:54:45 +0000 Received: from source ([192.150.11.134]) by exprod6ob117.postini.com ([64.18.5.12]) with SMTP ID DSNKTVUxfgx3o7VR05zsAnPJlJecMocCIW2K@postini.com; Fri, 11 Feb 2011 04:54:24 PST Received: from inner-relay-4.eur.adobe.com ([192.150.8.237]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id p1BCrjKG010997 for ; Fri, 11 Feb 2011 04:53:45 -0800 (PST) Received: from nacas01.corp.adobe.com (nacas01.corp.adobe.com [10.8.189.99]) by inner-relay-4.eur.adobe.com (8.12.10/8.12.9) with ESMTP id p1BCsE5t022094 for ; Fri, 11 Feb 2011 04:54:19 -0800 (PST) Received: from eurhub01.eur.adobe.com (10.128.4.30) by nacas01.corp.adobe.com (10.8.189.99) with Microsoft SMTP Server (TLS) id 8.2.254.0; Fri, 11 Feb 2011 04:54:14 -0800 Received: from jzitting.adobe.com (10.131.197.63) by europemail.eur.adobe.com (10.128.4.111) with Microsoft SMTP Server (TLS) id 8.2.254.0; Fri, 11 Feb 2011 12:54:07 +0000 Message-ID: <4D55316F.3030100@adobe.com> Date: Fri, 11 Feb 2011 13:54:07 +0100 From: Jukka Zitting Organization: Adobe User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Thunderbird/3.1.7 MIME-Version: 1.0 To: "users@jackrabbit.apache.org" Subject: Re: Rather easy SQL2-query? References: In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, On 02/11/2011 01:44 PM, Cech. Ulrich wrote: > select f from [nt:unstructured] as x inner join [nt:file] as f on > isdescendantnode(f, x) WHERE NAME([x]) = 'HAUPT' Try SELECT f.* FROM ... -- Jukka Zitting