Hi,
I have object A, which has 3 collections. Object A returns VETO from method onUpdate. But because of this hibernate throws following exception:
net.sf.hibernate.HibernateException: reassociated object has dirty collection at net.sf.hibernate.impl.OnLockVisitor.processCollection(OnLockVisitor.java:47)
at net.sf.hibernate.impl.AbstractVisitor.processValue(AbstractVisitor.java:69)
at net.sf.hibernate.impl.AbstractVisitor.processValues(AbstractVisitor.java:36)
at net.sf.hibernate.impl.AbstractVisitor.process(AbstractVisitor.java:93)
at net.sf.hibernate.impl.SessionImpl.reassociate(SessionImpl.java:1678)
at net.sf.hibernate.impl.SessionImpl.doUpdateMutable(SessionImpl.java:1441)
at net.sf.hibernate.impl.SessionImpl.doUpdate(SessionImpl.java:1462)
at net.sf.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:1385)
Method "reassociate" of SessionImpl is called after A return VETO.
Why is this method called?
Hibernate version: - 2.1
Any help is highly appreciated
|