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 |
Type Params | Return Type | Name and description |
---|---|---|
|
boolean |
isSharedConnection() @return Whether a single shared connection is used |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), 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