jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcin Muras (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-1859) BeanLazyLoader is not Serializable
Date Sun, 16 Nov 2008 13:43:52 GMT
BeanLazyLoader is not Serializable
----------------------------------

                 Key: JCR-1859
                 URL: https://issues.apache.org/jira/browse/JCR-1859
             Project: Jackrabbit
          Issue Type: Improvement
          Components: jackrabbit-ocm
            Reporter: Marcin Muras
             Fix For: 1.5.0


Class org.apache.jackrabbit.ocm.manager.objectconverter.impl.BeanLazyLoader is not serializable.
In ocm module we can mark some property to be lazy loaded. For example @Bean(..., proxy=true)
In such scenario instead of object we will have here proxy BeanLazyLoader which is not serializable.

It is problematic while using another technologies. 
For example Spring WebFlow requires objects (model) stored in scope to be Serializable.
So when we use proxied model with Spring WebFlow we received exception "org.springframework.webflow.execution.repository.snapshot.SnapshotCreationException:
Could not serialize flow execution; make sure all objects stored in flow or flash scope are
serializable.... Caused by: java.io.NotSerializableException: org.apache.jackrabbit.ocm.manager.objectconverter.impl.BeanLazyLoader
..."

Please make BeanLazyLoader Serializable.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message