Java Persistence API (JPA) Extensions Reference for EclipseLink, Release 2.4
  Go To Table Of Contents
 Search
 PDFComments
Comments


multitenant.tenants-share-emf

Use eclipselink.multitenant.shared-emf to specify if multitenant entities will be used within a shared entity manager factory.


Values

Table 5-67 describes this persistence property's values.

Table 5-67 Valid Values for multitenant.tenants-share-emf

Value Description

true

(Default)

false

You must provide a unique session name.



Usage

When setting it to false, users are required to provide a unique session name. .


Examples

Example 5-64 Using multitenant.tenants-share-emf in persistence.xml

<property name="eclipselink_multitenant_tenants_share_emf" value="true" />

Example 5-65 Using multitenant.tenants-share-emf in a Property Map



See Also

For more information, see: