[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4011) ChainedPropertyAccessor is not serializable, which breaks caching to disk and replicated caches.
Ingo Rockel (JIRA)
noreply at atlassian.com
Wed Jan 6 11:23:29 EST 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=35115#action_35115 ]
Ingo Rockel commented on HHH-4011:
----------------------------------
I can confirm this problem still exist in 3.3.2, any plans to fix this?
> 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
> Environment: Hibernate 3.3.1 (not checked on 3.3.2)
> Reporter: Ryan Dearing
>
> 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: 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