Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 21871 invoked from network); 20 Oct 2005 11:25:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Oct 2005 11:25:30 -0000 Received: (qmail 44911 invoked by uid 500); 20 Oct 2005 11:25:30 -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 44900 invoked by uid 99); 20 Oct 2005 11:25:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Oct 2005 04:25:30 -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; Thu, 20 Oct 2005 04:25:29 -0700 Received: from www.techatspree.com (www-data@service-01 [192.168.16.100]) by service-01.spree.de (8.13.4/8.13.4/Debian-3) with ESMTP id j9KBOT1F022899 for ; Thu, 20 Oct 2005 13:24:29 +0200 Received: from 192.18.42.10 (SquirrelMail authenticated user michael) by www.techatspree.com with HTTP; Thu, 20 Oct 2005 13:24:29 +0200 (CEST) Message-ID: <56615.192.18.42.10.1129807469.squirrel@www.techatspree.com> In-Reply-To: <4357710F.6090600@spree.de> References: <4357710F.6090600@spree.de> Date: Thu, 20 Oct 2005 13:24:29 +0200 (CEST) Subject: Re: Named queries From: "Michael Bouschen" To: jdo-dev@db.apache.org Reply-To: mbo.tech@spree.de User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Michael, the unmodifiable attribute in the metadata corresponds to methods is/setUnmodifiable in the Query API, meaning setting the unmodifiable attribute in the metadata is equivalent to calling setUnmodifiable(true) on the Query instance created for the named query. The assertion refers to query instances where the unmodifiable flag is false. This makes sure that you can call any setXXX or declareXXX method on a query instance created for a named query. Regards Michael > Hi Craig, > > assertion A14.5-15 specifies: > > "The Query instance returned from this method can be modified by the > application, just like any other Query instance." > > The metadata for named queries might contain a boolean attribute > "unmodifiable". In cases where that attribute is "true", is that > assertion still valid? > > 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/ > ------------------------------------------------------------------- > -- Michael Bouschen Tech@Spree Engineering GmbH mailto:mbo.tech@spree.de http://www.tech.spree.de/ Tel.:++49/30/235 520-33 Buelowstr. 66 Fax.:++49/30/2175 2012 D-10783 Berlin