Uses of Interface
org.hibernate.context.spi.TenantDataSourceMapper
Packages that use TenantDataSourceMapper
Package
Description
A range of SPIs allowing integration with—and customization of—the process of building metadata.
SPI contracts supporting contextual
current sessions and
current tenants,
along with interfaces allowing tenant ids to be mapped to
tenant-isolated datasources,
schemas, and
credentials.
-
Uses of TenantDataSourceMapper in org.hibernate.boot.spi
Methods in org.hibernate.boot.spi that return TenantDataSourceMapperModifier and TypeMethodDescriptionAbstractDelegatingSessionFactoryOptions.getTenantDataSourceMapper()SessionFactoryOptions.getTenantDataSourceMapper()Obtain theTenantDataSourceMapperused to select the data source belonging to the current tenant. -
Uses of TenantDataSourceMapper in org.hibernate.context.spi
Methods in org.hibernate.context.spi that return TenantDataSourceMapperModifier and TypeMethodDescriptionMultiTenancy.getTenantDataSourceMapper()static TenantDataSourceMapper<Object> MultiTenancy.getTenantDataSourceMapper(Map<String, Object> settings, ServiceRegistry registry) Obtain the configuredTenantDataSourceMapper.