Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 77394 invoked from network); 9 Dec 2009 08:15:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Dec 2009 08:15:10 -0000 Received: (qmail 87807 invoked by uid 500); 9 Dec 2009 08:15:09 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 87737 invoked by uid 500); 9 Dec 2009 08:15:08 -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 87726 invoked by uid 99); 9 Dec 2009 08:15:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Dec 2009 08:15:08 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mreutegg@day.com designates 207.126.148.88 as permitted sender) Received: from [207.126.148.88] (HELO eu3sys201aog102.obsmtp.com) (207.126.148.88) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 09 Dec 2009 08:15:01 +0000 Received: from source ([74.125.78.26]) by eu3sys201aob102.postini.com ([207.126.154.11]) with SMTP ID DSNKSx9cbrb0HGBhNFUzBTd5wJOE3fAEbDA9@postini.com; Wed, 09 Dec 2009 08:14:41 UTC Received: by ey-out-2122.google.com with SMTP id 4so826951eyf.35 for ; Wed, 09 Dec 2009 00:14:38 -0800 (PST) MIME-Version: 1.0 Sender: mreutegg@day.com Received: by 10.216.85.209 with SMTP id u59mr3145786wee.109.1260346477742; Wed, 09 Dec 2009 00:14:37 -0800 (PST) In-Reply-To: <442569030912020535h4c63ad68wb68cf04fd4476d50@mail.gmail.com> References: <442569030912020453n2c475b9eh908e1edd5defe6e0@mail.gmail.com> <91f3b2650912020511p356a87beg305d11328718773d@mail.gmail.com> <442569030912020535h4c63ad68wb68cf04fd4476d50@mail.gmail.com> Date: Wed, 9 Dec 2009 09:14:37 +0100 X-Google-Sender-Auth: ffffb2262b93664d Message-ID: Subject: Re: State of JCR-SQL2 From: Marcel Reutegger To: users Content-Type: text/plain; charset=ISO-8859-1 Hi, 2009/12/2 Philipp Bunge : > And testing of QOM/SQL2 before a Jackrabbit 2.0 final release? It > appeared to me that the only JCR-SQL2 tests are currently parsing > tests but they only test if the queries are parsed without an > exception (the QOM tree they produce is not verified for example). > Also, are there any tests that execute QOM or SQL2 queries? yes, there are. they are part of the jackrabbit-jcr-tests module and run as integration tests. see: http://svn.apache.org/repos/asf/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/query/qom most tests execute the query twice, once as JQOM and a second one as SQL2 (-> AbstractQOMTest.checkQOM(...)) but I agree with you that testing QOM is currently quite basic. please also be aware that performance has not been a focus of development so far. so you might be better off using XPath for now if you can express a certain query in XPath. regards marcel