Hi,

>A developer can get LazyInitializationException only
>if he/she keeps a reference to the persistent object,
>for instance storing it in HTTP session. We have
>provided a simple and convenient abstraction -
>ObjectProxy - that may be used to have a persistent
>object reference that is always valid.

Actually this is what I was looking for, spring also has a filter to apply the session per request pattern but the main problem is as you mentioned, keeping the reference in the http session causes lazy initialization errors. There are solutions for this like aspects, session merge, session lock but all of these are hard to apply. It is great if Rumba takes care of it simply using ObjectProxy.

Regards,

Cagatay Civici,

Reply via email to