org.hibernate.AssertionFailure

possible non-threadsafe access to the session

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web8

  • via Unknown by Unknown author,
  • Stack trace

    • org.hibernate.AssertionFailure: possible non-threadsafe access to the session at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:100) at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:854) at org.hibernate.loader.Loader.doQuery(Loader.java:729) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236) at org.hibernate.loader.Loader.loadEntity(Loader.java:1860) at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:48) at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:42) at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3042) at org.hibernate.impl.StatelessSessionImpl.get(StatelessSessionImpl.java:158) at org.hibernate.impl.StatelessSessionImpl.get(StatelessSessionImpl.java:153) at org.hibernate.impl.StatelessSessionImpl.get(StatelessSessionImpl.java:145)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitor2 times, last one