public enum MultitenantType extends java.lang.Enum<MultitenantType>
org.eclipse.persistence.annotations.Multitenant.| Enum Constant and Description |
|---|
SINGLE_TABLE
Specifies that table(s) the entity maps to includes rows for multiple
tenants.
|
TABLE_PER_TENANT
Specifies that different tables are used for each tenant and used in
conjunction with the tenant table discriminator which describes how the
tables are uniquely identified, that is, using a suffix/prefix or a
separate schema.
|
VPD
Specifies that the DB will handle the tenant filtering on all SELECT,
UPDATE and DELETE queries.
|
| Modifier and Type | Method and Description |
|---|---|
static MultitenantType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MultitenantType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MultitenantType SINGLE_TABLE
public static final MultitenantType VPD
public static final MultitenantType TABLE_PER_TENANT
public static MultitenantType[] values()
for (MultitenantType c : MultitenantType.values()) System.out.println(c);
public static MultitenantType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is null