Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
Release Notes
-
Workaround Exists
-
-
-
Documented as Resolved Issue
Description
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();