Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

E28847-01


org.eclipse.persistence.annotations
Annotation Type Multitenant


@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.

Since:
EclipseLink 2.3
Author:
Guy Pelletier
See Also:
MultitenantType, TenantDiscriminatorColumn, TenantDiscriminatorColumns

Optional Element Summary
 MultitenantType value
          (Optional) Specify the multi-tenant strategy to use.

 

value

public abstract MultitenantType value
(Optional) Specify the multi-tenant strategy to use.
Default:
org.eclipse.persistence.annotations.MultitenantType.SINGLE_TABLE

Skip navigation links

Copyright © 1998, 2012, Oracle. All Rights Reserved.