Class SchemaPerMultitenantPolicy

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.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:
    Serialized Form
    Author:
    Lukas Jungmann
    Since:
    EclipseLink 2.6