[hibernate-issues] [Hibernate-JIRA] Created: (HHH-5424) ResultTransformer should only be set in the QueryKey if putting/getting data that is actually transformed

Gail Badner (JIRA) noreply at atlassian.com
Thu Jul 29 21:05:39 EDT 2010


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


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: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list