Use eclipselink.multitenant.tenants-share-cache
to specify if multitenant entities will share the L2 cache.
Values
Table 5-66 describes this persistence property's values.
Table 5-66 Valid Values for multitenant.tenants-share-cache
Value | Description |
---|---|
|
Multitenant entities will use an protected cache. |
|
(Default) Multitenant entities will use an isolated cache. |
Usage
WARNING: When this setting is |
Examples
Example 5-62 Using multitenant.tenants-share-cache in persistence.xml
<property name="eclipselink.multitenant.tenants-share-cache" value="true" />
See Also
For more information, see:
Multitenant examples:
http://wiki.eclipse.org/EclipseLink/Examples/JPA/Multitenant
"Using Multitenancy" in Solutions Guide for EclispeLink