org.hibernate.AssertionFailure: possible non-threadsafe access to the session

Hibernate JIRA | Christian Bauer | 9 years ago
  1. 0

    HibernateCursorItemReader thread safety - Spring Forum

    spring.io | 7 months ago
    org.hibernate.AssertionFailure: possible non-threadsafe access to the session
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    java.sql.SQLException: You can't operate on a closed Statement!!!

    Oracle Community | 9 years ago | raysefo
    org.hibernate.AssertionFailure: possible non-threadsafe access to the session
  4. 0

    Hibernate Community • View topic - StatelessSession & non thread-safe access?!

    hibernate.org | 7 months ago
    org.hibernate.AssertionFailure: possible non-threadsafe access to the 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.AssertionFailure

      possible non-threadsafe access to the session

      at org.hibernate.engine.TwoPhaseLoad.initializeEntity()
    2. Hibernate
      AbstractEntityPersister.load
      1. org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:100)
      2. org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:854)
      3. org.hibernate.loader.Loader.doQuery(Loader.java:729)
      4. org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
      5. org.hibernate.loader.Loader.loadEntity(Loader.java:1860)
      6. org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:48)
      7. org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:42)
      8. org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3042)
      8 frames
    3. Hibernate
      StatelessSessionImpl.get
      1. org.hibernate.impl.StatelessSessionImpl.get(StatelessSessionImpl.java:158)
      2. org.hibernate.impl.StatelessSessionImpl.get(StatelessSessionImpl.java:153)
      3. org.hibernate.impl.StatelessSessionImpl.get(StatelessSessionImpl.java:145)
      3 frames