]
Gail Badner updated HHH-5424:
-----------------------------
Fix Version/s: 3.5.5
ResultTransformer should only be set in the QueryKey if
putting/getting data that is actually transformed
---------------------------------------------------------------------------------------------------------
Key: HHH-5424
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5424
Project: Hibernate Core
Issue Type: Improvement
Components: core
Reporter: Gail Badner
Assignee: Gail Badner
Fix For: 3.6.0.Beta2, 3.5.5
When using the query cache with Query, data is not actually transformed until after data
as put or gotten from the query cache. In those cases, the result transformer should not
be put in the QueryKey. That way, the same (untransformed) cached data can be retrieved
and transformed later by the appropriate ResultTransformer.
This specificially does not apply to Criteria results, since they are always transformed
before caching the results.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: