Package org.hibernate.context.spi
SPI-level contracts around "current session" and "current tenant" support.
-
Interface Summary Interface Description CurrentSessionContext Defines the contract for implementations which know how to scope the notion of acurrent session
.CurrentTenantIdentifierResolver A callback registered with theSessionFactory
that is responsible for resolving the current tenant identifier for use withCurrentSessionContext
andSessionFactory.getCurrentSession()
. -
Class Summary Class Description AbstractCurrentSessionContext Base support forCurrentSessionContext
implementors.