Class SchemaPerMultitenantPolicy

java.lang.Object
org.eclipse.persistence.descriptors.TablePerMultitenantPolicy
org.eclipse.persistence.descriptors.SchemaPerMultitenantPolicy
All Implemented Interfaces:
Serializable, Cloneable, MultitenantPolicy

public class SchemaPerMultitenantPolicy extends TablePerMultitenantPolicy
A schema per tenant multitenant policy. This is a special case of TablePerMultitenantPolicy which can be applied on the project. Can be useful in cases when tenant schema change happens outside of EclipseLink, typically if Proxy DataSource is used. Use of this policy is limited to projects where following applies
  • @Multitenant entities are not used
  • EMF is shared across tenants
  • EMF shared cache is disabled
  • no @Entity defines schema to be used
See Also:
Author:
Lukas Jungmann