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,
- Re: Rumba - MyFaces-based application framework Cagatay Civici
- Re: Rumba - MyFaces-based application framework Alexey Maslov
- Re: Rumba - MyFaces-based application framework Martin Marinschek
- Re: Rumba - MyFaces-based application frame... Alexey Maslov
- Re: Rumba - MyFaces-based application framework Bill Schneider
- Re: Rumba - MyFaces-based application framework Martin Marinschek
- Re: Rumba - MyFaces-based application frame... Mario Ivankovits
- Re: Rumba - MyFaces-based application f... Werner Punz
- Re: Rumba - MyFaces-based applicat... Martin Marinschek
- Re: Rumba - MyFaces-based appl... Alexey Maslov
- Re: Rumba - MyFaces-based ... Werner Punz