Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 46943 invoked from network); 26 Sep 2005 12:20:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Sep 2005 12:20:47 -0000 Received: (qmail 44059 invoked by uid 500); 26 Sep 2005 12:20:47 -0000 Mailing-List: contact jdo-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-dev@db.apache.org Received: (qmail 44046 invoked by uid 99); 26 Sep 2005 12:20:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Sep 2005 05:20:47 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [212.224.30.66] (HELO service-01.spree.de) (212.224.30.66) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Sep 2005 05:20:53 -0700 Received: from [172.16.1.19] (rio.spree.de [172.16.1.19]) (authenticated bits=0) by service-01.spree.de (8.13.4/8.13.4/Debian-3) with ESMTP id j8QCKF9I010896 for ; Mon, 26 Sep 2005 14:20:15 +0200 Message-ID: <4337E788.2000709@spree.de> Date: Mon, 26 Sep 2005 14:20:24 +0200 From: Michael Watzek Organization: Tech@Spree GmbH User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: jdo-dev@db.apache.org Subject: Overview of new result/pc classes/named queries for JDO 2 query test cases Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, below you find an overview of new result/pc classes/named queries which we have to add in order to implement the JDO 2 query test cases. Please comment. What is a good package for the user-defined result classes? 1) ...query.result, or 2) ...query.result.classes, or 3) ...query.userresult 4) more ideas ? New result classes: ------------------ - FullName constructors: () public fields: - bean properties: String firstname, String firstName, String lastname, String lastName put method: - - StringIntResult constructors: (), (String, int) public fields: - bean properties: String s, int i put method: - - NoArgConstructor, constructors: (String dummy) public fields: - bean properties: - put method: - - NoFieldsNoMethods, constructors: () public fields: - bean properties: - put method: - - FieldsAndSetMethods, constructors: () public fields: String s bean properties: String s put method: - - FieldsAndPutMethod, constructors: () public fields: String s bean properties: - put method: + - PutMethod constructors: () public fields: - bean properties: - put method: + - PersonResult constructors: () public fields: - bean properties: Person person put method: + New pc classes: -------------- Package is "...pc.query". - JDOQLKeywordsAsFieldNames fields: parameters, select - NoExtent does not manage an extent Named queries in JDO metadata: ----------------------------- - valid, unique is false, unmodifiable is false - valid, unique is true, unmodifiable is false - invalid, unique is true, unmodifiable is false - invalid, unique is false, unmodifiable is true - valid, not loaded - invalid and uncompilable - valid SQL query - queries on // level - test cases verifying the search order of named queries Below you find the list of assertions, which rely on the extentions above: - New result classes: A14.8-3, A14.7-2, A14.6.12-1, A14.6.12-2, A14.6-23, A14.6-19, A14.6.13-1. - New pc classes: A14.4-7, A14.6.5-2. - New named queries: A14.5-16, A14.5-13, A14.5-12, A14.7-3. Regards, Michael -- ------------------------------------------------------------------- Michael Watzek Tech@Spree Engineering GmbH mailto:mwa.tech@spree.de Buelowstr. 66 Tel.: ++49/30/235 520 36 10783 Berlin - Germany Fax.: ++49/30/217 520 12 http://www.spree.de/ -------------------------------------------------------------------