Class AbstractCurrentSessionContext
java.lang.Object
org.hibernate.context.spi.AbstractCurrentSessionContext
- All Implemented Interfaces:
Serializable, CurrentSessionContext
Base support for
CurrentSessionContext implementors.- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionprotected SessionBuilderfactory()Access to theSessionFactory.protected voidvalidateExistingSession(Session existingSession) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CurrentSessionContext
currentSession
-
Constructor Details
-
AbstractCurrentSessionContext
-
-
Method Details
-
factory
Access to theSessionFactory.- Returns:
- The
SessionFactorybeing serviced by this context
-
baseSessionBuilder
-
validateExistingSession
-