]
Gail Badner updated HHH-4011:
-----------------------------
Affects Version/s: 3.5.4
3.6.0.Beta1
Fix Version/s: 3.6.0.Beta2
I've confirmed that this is still an issue in 3.5.4 and 3.6.0-Beta-1
ChainedPropertyAccessor is not serializable, which breaks caching to
disk and replicated caches.
------------------------------------------------------------------------------------------------
Key: HHH-4011
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4011
Project: Hibernate Core
Issue Type: Bug
Components: caching (L2), core
Affects Versions: 3.3.1, 3.5.4, 3.6.0.Beta1
Environment: Hibernate 3.3.1 (not checked on 3.3.2)
Reporter: Ryan Dearing
Assignee: Gail Badner
Fix For: 3.6.0.Beta2
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();
A workaround is to make these queries not cacheable for now.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: