Package org.hibernate.context.spi
SPI-level contracts around "current session" and "current tenant" support.
-
Interface Summary Interface Description CurrentSessionContext Defines the contract for objects which are able to manage the lifecycle of aSession
associated with a well-defined "context" or "scope", providing the concrete implementation behind the notion of the current session.CurrentTenantIdentifierResolver<T> A callback registered with theSessionFactory
that is responsible for resolving the current tenant identifier. -
Class Summary Class Description AbstractCurrentSessionContext Base support forCurrentSessionContext
implementors.