db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg von Frantzius <joerg.von.frantz...@artnology.com>
Subject Re: Query objects and hashCode() + equals()
Date Tue, 17 Nov 2009 17:38:00 GMT
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

  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message