Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 66163 invoked from network); 17 Nov 2009 17:38:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Nov 2009 17:38:32 -0000 Received: (qmail 74730 invoked by uid 500); 17 Nov 2009 17:38:32 -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 74720 invoked by uid 99); 17 Nov 2009 17:38:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Nov 2009 17:38:32 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of joerg.von.frantzius@artnology.com designates 80.67.31.25 as permitted sender) Received: from [80.67.31.25] (HELO smtprelay02.ispgateway.de) (80.67.31.25) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Nov 2009 17:38:22 +0000 Received: from [80.153.219.11] (helo=[192.168.100.26]) by smtprelay02.ispgateway.de with esmtpa (Exim 4.68) (envelope-from ) id 1NAS09-00028C-6l; Tue, 17 Nov 2009 18:38:01 +0100 Message-ID: <4B02DF78.3030308@artnology.com> Date: Tue, 17 Nov 2009 18:38:00 +0100 From: Joerg von Frantzius User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4pre) Gecko/20090915 SUSE/3.0b4-3.6 Lightning/1.0pre Thunderbird/3.0b4 MIME-Version: 1.0 To: Andy Jefferson CC: jdo-dev@db.apache.org, JDO Expert Group Subject: Re: Query objects and hashCode() + equals() References: <4AD8A470.4090806@artnology.com> <4071BDAB-0FE8-405F-AB80-EBC38F4D5B7B@SUN.com> <4B028EE1.4090703@artnology.com> <200911171719.44224.andy@datanucleus.org> In-Reply-To: <200911171719.44224.andy@datanucleus.org> Content-Type: multipart/mixed; boundary="------------090705070802020705020206" X-Df-Sender: 383542 X-Virus-Checked: Checked by ClamAV on apache.org --------------090705070802020705020206 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit Hi Andy, all I could find in the docs was http://www.datanucleus.org/extensions/query_cache.html which is about caching of "query compilations". Or do you mean that it could be used to store query results along with a cached QueryCompilation object? On 11/17/2009 06:19 PM, Andy Jefferson wrote: >> Our application framework caches the results of certain queries. It does >> not hand out the respective Query objects to application code, and it >> does not itself invoke any mutators on these Query objects. >> > DataNucleus v2.x also allows caching of query results (for non-legacy JDOQL > implementations). They are not cached by the "Query" object, but by a key that > represents the query string and the input parameters. Consequently no such map > lookup issues happen. > > > -- ____________________________________________________________________ artnology GmbH - Milastra�e 4 - 10437 Berlin - Germany Gesch�ftsf�hrer: Ekkehard Blome (CEO), Felix Kuschnick (CCO) Registergericht: Amtsgericht Berlin Charlottenburg HRB 76376 UST-Id. DE 217652550 --------------090705070802020705020206--