]
Gail Badner resolved HHH-5819.
------------------------------
Assignee: Gail Badner
Resolution: Rejected
Please use the forum for help:
HibernateException: org.hibernate.HibernateException: Illegal attempt
to associate a collection with two open sessions. This eception occurs randomly.Can
someone help me out?
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: HHH-5819
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5819
Project: Hibernate Core
Issue Type: Bug
Environment: Java,jsk1.5,oracle 10g
Reporter: Sankalp Shah
Assignee: Gail Badner
HibernateException:
org.hibernate.HibernateException: Illegal attempt to associate a collection with two open
sessions
at
org.hibernate.collection.AbstractPersistentCollection.setCurrentSession(AbstractPersistentCollection.java:410)
at
org.hibernate.event.def.OnUpdateVisitor.processCollection(OnUpdateVisitor.java:43)
at
org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:101)
at org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:61)
at
org.hibernate.event.def.AbstractVisitor.processEntityPropertyValues(AbstractVisitor.java:55)
at org.hibernate.event.def.AbstractVisitor.process(AbstractVisitor.java:123)
at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performUpdate(DefaultSaveOrUpdateEventListener.java:293)
at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsDetached(DefaultSaveOrUpdateEventListener.java:223)
at
org.hibernate.event.def.DefaultUpdateEventListener.performSaveOrUpdate(DefaultUpdateEventListener.java:33)
at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
at org.hibernate.impl.SessionImpl.fireUpdate(SessionImpl.java:564)
at org.hibernate.impl.SessionImpl.update(SessionImpl.java:552)
at org.hibernate.impl.SessionImpl.update(SessionImpl.java:544)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: