public class SchemaTenantGormEnhancer extends HibernateGormEnhancer
A HibernateGormEnhancer for SCHEMA multi-tenancy mode that resolves all tenant qualifiers from either the registered AllTenantsResolver or the available schema names on the data source.
| Properties inherited from class | Properties |
|---|---|
class GormEnhancer |
datastore, dynamicEnhance, failOnError, finders, includeExternal, markDirty, transactionManager |
| Constructor and description |
|---|
SchemaTenantGormEnhancer(Datastore datastore, org.springframework.transaction.PlatformTransactionManager transactionManager, HibernateConnectionSource defaultConnectionSource, TenantResolver tenantResolver, SchemaHandler schemaHandler, java.util.Map<java.lang.String, HibernateDatastore> datastoresByConnectionSource) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public java.util.List<java.lang.String> |
allQualifiers(Datastore datastore, PersistentEntity entity) |