Uses of Interface
org.hibernate.context.spi.TenantSchemaMapper
Packages that use TenantSchemaMapper
Package
Description
This package contains the interfaces that make up the bootstrap API
for Hibernate.
A range of SPIs allowing integration with—and customization of—the process of building metadata.
This package defines APIs for configuring Hibernate.
SPI-level contracts around "current session" and "current tenant" support.
-
Uses of TenantSchemaMapper in org.hibernate.boot
Methods in org.hibernate.boot with parameters of type TenantSchemaMapperModifier and TypeMethodDescriptionSessionFactoryBuilder.applyTenantSchemaMapper
(TenantSchemaMapper<?> mapper) Specifies aTenantSchemaMapper
that is responsible for mapping the current tenant identifier to the name of a database schema. -
Uses of TenantSchemaMapper in org.hibernate.boot.spi
Methods in org.hibernate.boot.spi that return TenantSchemaMapperModifier and TypeMethodDescriptionAbstractDelegatingSessionFactoryOptions.getTenantSchemaMapper()
SessionFactoryOptions.getTenantSchemaMapper()
Obtain a reference to the current tenant schema mapper, which is used to set the schema to the schema belonging to the current tenant each time a connection is obtained.Methods in org.hibernate.boot.spi with parameters of type TenantSchemaMapperModifier and TypeMethodDescriptionAbstractDelegatingSessionFactoryBuilder.applyTenantSchemaMapper
(TenantSchemaMapper<?> mapper) -
Uses of TenantSchemaMapper in org.hibernate.cfg
Methods in org.hibernate.cfg that return TenantSchemaMapperModifier and TypeMethodDescriptionConfiguration.getTenantSchemaMapper()
TheTenantSchemaMapper
, if any, that was added to this configuration.Methods in org.hibernate.cfg with parameters of type TenantSchemaMapperModifier and TypeMethodDescriptionConfiguration.setTenantSchemaMapper
(TenantSchemaMapper<?> tenantSchemaMapper) Specify aTenantSchemaMapper
to be added to this configuration. -
Uses of TenantSchemaMapper in org.hibernate.context.spi
Methods in org.hibernate.context.spi that return TenantSchemaMapperModifier and TypeMethodDescriptionstatic @Nullable TenantSchemaMapper
<Object> MultiTenancy.getTenantSchemaMapper
(Map<String, Object> settings, StandardServiceRegistry registry) Obtain the configuredTenantSchemaMapper
.