Hi,

it would be nice if the spec would mandate that implementations of
javax.jdo.Query do correctly implement hashCode() and equals().
Alternatively, Query.toString() could be required to return the
single-string representation of the query, or some dedicated method was
added to provide it.

This would make it easier to e.g. implement some custom cache for query
results, or, more generally, it would make it easier to put Query
objects as keys into Maps.

Regards,
Jörg

-- 
____________________________________________________________________
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

Reply via email to