[opencms-dev] Spring / Hibernate
Joe Desbonnet
jdesbonnet at gmail.com
Fri Mar 3 14:09:52 CET 2006
It's not ideal, but I think if you set lazy="false" in your Hibernate
mappings it may solve the problem (at the expense of having every
object loaded in its entirety).
Joe.
On 3/3/06, Stephen Callaghan <clanjava at gmail.com> wrote:
> We've been using Spring successfully for our own java classes which we
> are loading into OpenCMS as a module. However, we are now getting the
> LazyInstantiationException from Hibernate when talking to our
> database. All the usual fixes for this (OpenSessionInViewFilter etc)
> dont seem to be applicable for OpenCMS.
>
> Has anyone else solved this problem?
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
More information about the opencms-dev
mailing list