-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: EAP_EWP 5.1.1
-
Component/s: Hibernate
-
Labels:None
-
Affects:Release Notes
-
Workaround:Workaround Exists
-
Workaround Description:
-
Release Notes Text:
-
Release Notes Docs Status:Documented as Resolved Issue
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4011
---------------
ChainedPropertyAccessor is used by AliasToBeanResultTransformer. Since ChainedPropertyAccessor is not serializable any cacheable queries using AliasToBeanResultTransformer break during cache replication.
For example, this query cannot be replicated or cached to disk:
session.createQuery("select foo").setResultTransformer(new AliasToBeanResultTransformer(SimpleCount.class)).setCacheable(true).list();