Issue Details (XML | Word | Printable)

Key: CAY-707
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Andrus Adamchik
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Cayenne

SelectQuery automatic cache key build mechanism produces wrong results when DO's are used in qualifier

Created: 17/Nov/06 09:34 PM   Updated: 09/Nov/08 01:14 AM
Component/s: Cayenne Core Library
Affects Version/s: 3.0
Fix Version/s: 3.0M1

Time Tracking:
Not Specified

Resolution Date: 17/Nov/06 10:24 PM


 Description  « Hide
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.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Andrus Adamchik added a comment - 22/Nov/06 11:55 PM
Closing all 3.0 issues marked as resolved as of 11/22 - I logged a list of them in release notes.