Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Hibernate JIRA by Christian Bauer, 1 year ago
possible non-threadsafe access to the session
via Hibernate JIRA by Christian Bauer, 2 years ago
possible non-threadsafe access to the session
via hibernate.org by Unknown author, 2 years ago
via hibernate.org by Unknown author, 2 years ago
via spring.io by Unknown author, 2 years ago
possible non-threadsafe access to the session
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)