org.hibernate.HibernateException: collection is not associated with any session at org.hibernate.collection.AbstractPersistentCollection.forceInitialization (AbstractPersistentCollection.java:471)

Google Groups | socorro | 8 years 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. 0

    collection is not associated with any session hibernate exception

    Google Groups | 8 years ago | socorro
    org.hibernate.HibernateException: collection is not associated with any session at org.hibernate.collection.AbstractPersistentCollection.forceInitialization (AbstractPersistentCollection.java:471)
  2. 0

    Hibernate collection is not associated with any session

    Stack Overflow | 4 years ago | DominikM
    org.hibernate.HibernateException: collection is not associated with any session
  3. 0

    zeroturnaround.com » Topic: Reloading Spring bean corrupts hibernate session

    zeroturnaround.com | 2 years ago
    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

    zeroturnaround.com » Topic: Reloading Spring bean corrupts hibernate session

    zeroturnaround.com | 2 years ago
    org.hibernate.HibernateException: collection is not associated with any session
  6. 0

    When I try to use Hibernate.initialize, after the session has been closed, it throws an exception, even with ENABLE_LAZY_LOAD_NO_TRANS enabled org.hibernate.HibernateException: collection is not associated with any session at org.hibernate.collection.internal.AbstractPersistentCollection.forceInitialization(AbstractPersistentCollection.java:732) at org.hibernate.Hibernate.initialize(Hibernate.java:63) at org.hibernate.test.ondemandload.cache.CacheLazyLoadNoTransTest.hibernateInitialize(CacheLazyLoadNoTransTest.java:68) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.hibernate.testing.junit4.ExtendedFrameworkMethod.invokeExplosively(ExtendedFrameworkMethod.java:45) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)

    Hibernate JIRA | 1 year ago | Janario Oliveira
    org.hibernate.HibernateException: collection is not associated with any session

  1. MoYapro 1 times, last 6 months ago
2 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 (AbstractPersistentCollection.java:471)

    at org.hibernate.Hibernate.initialize()
  2. Hibernate
    Hibernate.initialize
    1. org.hibernate.Hibernate.initialize(Hibernate.java:332)
    1 frame