SelectQuery automatic cache key build mechanism produces wrong results when
DO's are used in qualifier
------------------------------------------------------------------------------------------------------
Key: CAY-707
URL: http://issues.apache.org/cayenne/browse/CAY-707
Project: Cayenne
Type: Bug
Components: Cayenne Core Library
Versions: 3.0
Reporter: Andrus Adamchik
Assigned to: Andrus Adamchik
Priority: Minor
Fix For: 3.0
SelectQueryMetadata.resolve:
Part of the cache key building mechanism is doing this:
key.append('/').append(query.getQualifier());
resulting in full DataObjects used as cache keys if a qualifier matches a
DataObject. Should be using ObjectId instead.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/cayenne/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira