[ 
https://issues.apache.org/jira/browse/JCR-1859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christophe Lombart reassigned JCR-1859:
---------------------------------------

    Assignee: Christophe Lombart

> 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
>            Assignee: Christophe Lombart
>             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.

Reply via email to