org.hibernate.HibernateException: collection is not associated with any session

Stack Overflow | Aksanth | 5 months ago
  1. 0

    Hibernate Collection Initailization issue

    Stack Overflow | 5 months ago | Aksanth
    org.hibernate.HibernateException: collection is not associated with any session
  2. 0

    Hibernate Community • View topic - collection is not associated with any session.

    hibernate.org | 4 months ago
    org.hibernate.HibernateException: collection is not associated with any session
  3. 0

    org.hibernate.HibernateException: collection is not associated with any session

    Stack Overflow | 5 years ago | TheVillageIdiot
    org.hibernate.HibernateException: collection is not associated with any session
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    query.list() fails, query.iterate() doesn't (Object Relational Mapping forum at JavaRanch)

    coderanch.com | 11 months ago
    javax.ejb.EJBTransactionRolledbackException: org.hibernate.HibernateException: collection is not associated with any session
  6. 0

    Lazy collection initialization fails in hibernate

    Stack Overflow | 3 years ago | Oleksandr Z
    org.hibernate.HibernateException: collection is not associated with any session

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.hibernate.HibernateException

      collection is not associated with any session

      at org.hibernate.collection.AbstractPersistentCollection.forceInitialization()
    2. Hibernate
      AbstractPersistentCollection.forceInitialization
      1. org.hibernate.collection.AbstractPersistentCollection.forceInitialization(AbstractPersistentCollection.java:449)
      1 frame
    3. Hibernate
      Loader.loadEntity
      1. org.hibernate.engine.StatefulPersistenceContext.initializeNonLazyCollections(StatefulPersistenceContext.java:794)
      2. org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:241)
      3. org.hibernate.loader.Loader.loadEntity(Loader.java:1860)
      3 frames