Class CurrentSessionContext

  • All Implemented Interfaces:
    java.io.Serializable, org.hibernate.context.CurrentSessionContext

    public class CurrentSessionContext
    extends org.hibernate.context.JTASessionContext
    Implementation of Hibernate's current_session_context_class extension point. During the move to strict JTA compliance, nested calls to HibernateTemplate and SessionFactoryUtils#getSession() were causing "Session is closed" during CacheSynchronization. See resources/ome/services/hibernate.xml
    See Also:
    Serialized Form