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 theSessionFactorythat is responsible for resolving the current tenant identifier for use withCurrentSessionContextandSessionFactory.getCurrentSession(). -
Class Summary Class Description AbstractCurrentSessionContext Base support forCurrentSessionContextimplementors.