db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Jefferson <a...@datanucleus.org>
Subject Re: Query objects and hashCode() + equals()
Date Tue, 17 Nov 2009 17:19:44 GMT
> 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.

DataNucleus (http://www.datanucleus.org)

View raw message