public class CurrentSessionContext
extends org.hibernate.context.JTASessionContext
HibernateTemplate
and SessionFactoryUtils#getSession() were causing
"Session is closed" during CacheSynchronization. See
resources/ome/services/hibernate.xmlConstructor and Description |
---|
CurrentSessionContext(org.hibernate.engine.SessionFactoryImplementor sf) |
Modifier and Type | Method and Description |
---|---|
protected org.hibernate.classic.Session |
buildOrObtainSession() |
protected boolean |
isAutoCloseEnabled() |
public CurrentSessionContext(org.hibernate.engine.SessionFactoryImplementor sf)
protected org.hibernate.classic.Session buildOrObtainSession()
buildOrObtainSession
in class org.hibernate.context.JTASessionContext
protected boolean isAutoCloseEnabled()
isAutoCloseEnabled
in class org.hibernate.context.JTASessionContext
Version: 5.2.0-ice35-b12
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.