Foren
hibernate.max_fetch_depth
Ricardo Vieira, geändert vor 13 Jahren.
hibernate.max_fetch_depth
Junior Member Beiträge: 54 Beitrittsdatum: 16.08.10 Neueste Beiträge
Hi,
I got this error with Hibernate,
a workaround i found is changing the hibernate.max_fetch_depth configuration, can I put this hibernate configuration in the portal-ext.properties ???
I got this error with Hibernate,
10:51:20,615 ERROR [AssertionFailure:45] an assertion failure occured (this may indicate a bug in Hibernate, but is more likely due to unsafe use of the session)
org.hibernate.AssertionFailure: possible nonthreadsafe access to session
at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:83)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:268)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:260)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:179)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1206)
...
a workaround i found is changing the hibernate.max_fetch_depth configuration, can I put this hibernate configuration in the portal-ext.properties ???