static enum MultiTenancySettings.MultiTenancyMode
The multi-tenancy mode
Enum constant | Description |
---|---|
DATABASE |
A single database per tenant |
DISCRIMINATOR |
A shared database amongst multiple tenants using a discriminator column |
NONE |
No multi tenancy |
SCHEMA |
A shared database amongst multiple tenants using a separate schema for each tenant |
Modifiers | Name | Description |
---|---|---|
static MultiTenancySettings.MultiTenancyMode |
MAX_VALUE |
|
static MultiTenancySettings.MultiTenancyMode |
MIN_VALUE |
Type Params | Return Type | Name and description |
---|---|---|
|
boolean |
isSharedConnection()
|
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
A single database per tenant
A shared database amongst multiple tenants using a discriminator column
No multi tenancy
A shared database amongst multiple tenants using a separate schema for each tenant
Groovy Documentation