QueryKey hashCode is inconsistent with equals
---------------------------------------------
Key: OPENJPA-624
URL: https://issues.apache.org/jira/browse/OPENJPA-624
Project: OpenJPA
Issue Type: Bug
Components: datacache
Affects Versions: 1.1.0
Reporter: Matthias Seidel
The hashCode method of QueryKey is implemented to make use of
_candidateClassName, _query and _params while the equals method also considers
_rangeStart, _rangeEnd and some other stuff. This makes them inconsistent and
while this seems to work in a CacheMap it makes it unusable in some other
environment e.g. a custom QueryCache implementation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.