static final enum MultiTenancySettings.MultiTenancyMode extends java.lang.Enum<E<E>>
The multi-tenancy mode
Modifiers | Name | Description |
---|---|---|
private static MultiTenancySettings.MultiTenancyMode[] |
$VALUES |
|
static MultiTenancySettings.MultiTenancyMode |
DATABASE |
A single database per tenant |
static MultiTenancySettings.MultiTenancyMode |
DISCRIMINATOR |
A shared database amongst multiple tenants using a discriminator column |
static MultiTenancySettings.MultiTenancyMode |
MAX_VALUE |
|
static MultiTenancySettings.MultiTenancyMode |
MIN_VALUE |
|
static MultiTenancySettings.MultiTenancyMode |
NONE |
No multi tenancy |
static MultiTenancySettings.MultiTenancyMode |
SCHEMA |
A shared database amongst multiple tenants using a separate schema for each tenant |
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() |
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