|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=TYPE) @Retention(value=RUNTIME) public @interface Multitenant
Multitenant specifies that a given entity is shared amongst multiple tenants of a given application. The multitenant type specifies how the data for these entities are to be stored on the database for each tenant. Multitenant can be specified at the Entity or MappedSuperclass level.
MultitenantType
,
TenantDiscriminatorColumn
,
TenantDiscriminatorColumns
Optional Element Summary | |
---|---|
boolean |
includeCriteria
(Optional) Indicate if the database requires the tenant criteria to be added to the SELECT, UPDATE, and DELETE queries. |
MultitenantType |
value
(Optional) Specify the multi-tenant strategy to use. |
public abstract MultitenantType value
public abstract boolean includeCriteria
|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |