Stop using query NAME as a cache key
------------------------------------
Key: CAY-1127
URL: https://issues.apache.org/cayenne/browse/CAY-1127
Project: Cayenne
Issue Type: Task
Components: Cayenne Core Library
Affects Versions: 3.0
Reporter: Andrus Adamchik
Assignee: Andrus Adamchik
Fix For: 3.0
In 3.0 Cayenne can automatically build cache keys for all major queries, still we are supporting a legacy mechanism for using query names as cache keys. This is counterintuitive and actually resulted in some bugs in the user code (caused by cache keys from two distinct queries obtained by cloning the same mapped query, overriding each other, so the users are presented with inconsistent results).
So I am going to remove the old behavior. Query name will no longer be used as a cache key.
-- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
This archive was generated by hypermail 2.0.0 : Fri Oct 17 2008 - 09:01:42 EDT