Annotation Type MultiTenant
-
@Target(TYPE) @Retention(RUNTIME) public @interface MultiTenant
Extension annotation allowing for specifying a class as multitenant, meaning that it will have a surrogate column in its table storing the tenant id.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String
column
Name of the multitenancy column in the table for this class.javax.jdo.annotations.Column[]
columns
The column making up the multitenancy discriminator.java.lang.String
indexed
Whether the multitenancy discriminator is indexed.
-