Return-Path: X-Original-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 693299B34 for ; Tue, 15 May 2012 14:30:39 +0000 (UTC) Received: (qmail 81968 invoked by uid 500); 15 May 2012 14:30:39 -0000 Delivered-To: apmail-jackrabbit-oak-dev-archive@jackrabbit.apache.org Received: (qmail 81904 invoked by uid 500); 15 May 2012 14:30:39 -0000 Mailing-List: contact oak-dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: oak-dev@jackrabbit.apache.org Delivered-To: mailing list oak-dev@jackrabbit.apache.org Received: (qmail 81896 invoked by uid 99); 15 May 2012 14:30:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 May 2012 14:30:39 +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 (athena.apache.org: domain of mueller@adobe.com designates 64.18.1.191 as permitted sender) Received: from [64.18.1.191] (HELO exprod6og106.obsmtp.com) (64.18.1.191) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 May 2012 14:30:30 +0000 Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob106.postini.com ([64.18.5.12]) with SMTP ID DSNKT7JocNzqYryx++1dRPEZkzJBPPRSEkRS@postini.com; Tue, 15 May 2012 07:30:10 PDT Received: from inner-relay-1.corp.adobe.com ([153.32.1.51]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q4FERtJ0020769; Tue, 15 May 2012 07:27:55 -0700 (PDT) Received: from nacas03.corp.adobe.com (nacas03.corp.adobe.com [10.8.189.121]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q4FEU4vw007724; Tue, 15 May 2012 07:30:08 -0700 (PDT) Received: from eurhub01.eur.adobe.com (10.128.4.30) by nacas03.corp.adobe.com (10.8.189.121) with Microsoft SMTP Server (TLS) id 8.3.192.1; Tue, 15 May 2012 07:29:58 -0700 Received: from eurmbx01.eur.adobe.com ([10.128.4.32]) by eurhub01.eur.adobe.com ([10.128.4.30]) with mapi; Tue, 15 May 2012 15:29:57 +0100 From: Thomas Mueller To: "julian.reschke@gmx.de" CC: "oak-dev@jackrabbit.apache.org" Date: Tue, 15 May 2012 15:29:53 +0100 Subject: Re: Query Thread-Topic: Query Thread-Index: Ac0ypzNnEcoaZCzIR++cotumtVeFmQ== Message-ID: In-Reply-To: <4FB2582D.8070007@gmx.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.2.2.120421 acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hi, >>How to formulate: any node >> with any property equal to x, where the property is of type y. We might >> need to extend the SQL-2 syntax... >Not sure what you are referring to here; About node (non-weak) references - if you want to delete a node, you first need to check that there are no references to this node. The reference could be in any property (but it's not fulltext search). Is it possible to describe that using XPath? > the context was lookup by >identifier. I would expect the query to be something like > > SELECT jcr:path WHERE jcr:uuid =3D .... > >So the only thing to worry about might be quoting special characters in >identifiers. Yes that should work well. Regards, Thomas