net.sf.hibernate.AssertionFailure: Hibernate has a bug processing collections

Hibernate JIRA | Raider Yang | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. net.sf.hibernate.AssertionFailure

      Hibernate has a bug processing collections

      at net.sf.hibernate.impl.SessionImpl.prepareCollectionForUpdate()
    2. net.sf.hibernate
      SessionImpl.find
      1. net.sf.hibernate.impl.SessionImpl.prepareCollectionForUpdate(SessionImpl.java:2635)
      2. net.sf.hibernate.impl.SessionImpl.updateReachableCollection(SessionImpl.java:2556)
      3. net.sf.hibernate.impl.SessionImpl.updateReachable(SessionImpl.java:2577)
      4. net.sf.hibernate.impl.SessionImpl.updateReachables(SessionImpl.java:2682)
      5. net.sf.hibernate.impl.SessionImpl.flushEntities(SessionImpl.java:2259)
      6. net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:2017)
      7. net.sf.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:1560)
      8. net.sf.hibernate.impl.SessionImpl.getQueries(SessionImpl.java:1372)
      9. net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1332)
      10. net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1322)
      10 frames