Class AbstractCurrentSessionContext

java.lang.Object
org.hibernate.context.spi.AbstractCurrentSessionContext
All Implemented Interfaces:
Serializable, CurrentSessionContext
Direct Known Subclasses:
JTASessionContext, ManagedSessionContext, ThreadLocalSessionContext

public abstract class AbstractCurrentSessionContext extends Object implements CurrentSessionContext
Base support for CurrentSessionContext implementors.
See Also:
  • Constructor Details

  • Method Details

    • factory

      public SessionFactoryImplementor factory()
      Access to the SessionFactory
      Returns:
      The SessionFactory being serviced by this context
    • baseSessionBuilder

      protected SessionBuilder baseSessionBuilder()
    • validateExistingSession

      protected void validateExistingSession(Session existingSession)