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 |
---|---|---|
private static MultiTenancySettings.MultiTenancyMode[] |
$VALUES |
|
static MultiTenancySettings.MultiTenancyMode |
MAX_VALUE |
|
static MultiTenancySettings.MultiTenancyMode |
MIN_VALUE |
Type Params | Return Type | Name and description |
---|---|---|
|
static void |
|
|
boolean |
isSharedConnection()
|
|
MultiTenancySettings.MultiTenancyMode |
next() |
|
MultiTenancySettings.MultiTenancyMode |
previous() |
|
static MultiTenancySettings.MultiTenancyMode |
valueOf(java.lang.String name) |
|
static final MultiTenancySettings.MultiTenancyMode[] |
values() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), 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