blob: 16241eff8e22f1c312be28b2797f2f99322b6daa [file] [log] [blame]
<persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence persistence_1_0.xsd" version="1.0">
<persistence-unit name="%%default%%" transaction-type="%%transaction-type%%">
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
<%%datasource-type%%>%%data-source-name%%</%%datasource-type%%>
<mapping-file>META-INF/advanced-entity-mappings.xml</mapping-file>
<mapping-file>META-INF/inherited-entity-mappings.xml</mapping-file>
<mapping-file>META-INF/incomplete-nonowning-entity-mappings.xml</mapping-file>
<mapping-file>META-INF/incomplete-owning-entity-mappings.xml</mapping-file>
<mapping-file>META-INF/relationships-entity-mappings.xml</mapping-file>
<mapping-file>META-INF/orm-annotation-merge-advanced-entity-mappings.xml</mapping-file>
<mapping-file>META-INF/orm-annotation-merge-relationships-entity-mappings.xml</mapping-file>
<mapping-file>META-INF/unidirectional-relationships-entity-mappings.xml</mapping-file>
<mapping-file>META-INF/defaultlistener.xml</mapping-file>
<exclude-unlisted-classes>false</exclude-unlisted-classes>
<properties>
<property name="eclipselink.target-server" value="%%server-platform%%"/>
<property name="eclipselink.target-database" value="%%database-platform%%"/>
<property name="eclipselink.validate-existence" value="true"/>
<property name="eclipselink.orm.validate.schema" value="true"/>
<property name="eclipselink.weaving" value="%%server-weaving%%"/>
</properties>
</persistence-unit>
<!--multi-tenant-shared-emf PU-->
<persistence-unit name="MulitPU-1" transaction-type="%%transaction-type%%">
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
<%%datasource-type%%>%%data-source-name%%</%%datasource-type%%>
<mapping-file>META-INF/advanced-multitenant-entity-mappings.xml</mapping-file>
<class>org.eclipse.persistence.testing.models.jpa.xml.inheritance.FueledVehicle</class>
<exclude-unlisted-classes>true</exclude-unlisted-classes>
<properties>
<property name="eclipselink.exclude-eclipselink-orm" value="true"/>
<property name="eclipselink.target-server" value="%%server-platform%%"/>
<property name="eclipselink.target-database" value="%%database-platform%%"/>
<property name="eclipselink.weaving" value="%%server-weaving%%"/>
<property name="eclipselink.validate-existence" value="true"/>
<property name="eclipselink.multitenant.tenants-share-cache" value="false"/>
<property name="eclipselink.jdbc.allow-native-sql-queries" value="true"/>
<property name="eclipselink.ddl-generation" value="drop-and-create-tables"/>
<property name="eclipselink.ddl-generation.output-mode" value="both"/>
</properties>
</persistence-unit>
<!--multi-tenant-123 PU-->
<persistence-unit name="MulitPU-2" transaction-type="%%transaction-type%%">
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
<%%datasource-type%%>%%data-source-name%%</%%datasource-type%%>
<mapping-file>META-INF/advanced-multitenant-entity-mappings.xml</mapping-file>
<class>org.eclipse.persistence.testing.models.jpa.xml.inheritance.FueledVehicle</class>
<exclude-unlisted-classes>true</exclude-unlisted-classes>
<properties>
<property name="eclipselink.exclude-eclipselink-orm" value="true"/>
<property name="eclipselink.target-server" value="%%server-platform%%"/>
<property name="eclipselink.target-database" value="%%database-platform%%"/>
<property name="eclipselink.weaving" value="%%server-weaving%%"/>
<property name="eclipselink.validate-existence" value="true"/>
<property name="tenant.id" value="123"/>
<property name="eclipselink.tenant-id" value="123"/>
<property name="eclipselink.multitenant.tenants-share-emf" value="false"/>
<property name="eclipselink.session-name" value="multi-tenant-123"/>
<property name="eclipselink.jdbc.allow-native-sql-queries" value="false"/>
</properties>
</persistence-unit>
<persistence-unit name="MulitPU-3" transaction-type="%%transaction-type%%">
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
<%%datasource-type%%>%%data-source-name%%</%%datasource-type%%>
<class>org.eclipse.persistence.testing.models.jpa.xml.inheritance.FueledVehicle</class>
<exclude-unlisted-classes>true</exclude-unlisted-classes>
</persistence-unit>
<persistence-unit name="MulitPU-4" transaction-type="%%transaction-type%%">
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
<%%datasource-type%%>%%data-source-name%%</%%datasource-type%%>
<class>org.eclipse.persistence.testing.models.jpa.xml.inheritance.FueledVehicle</class>
<exclude-unlisted-classes>true</exclude-unlisted-classes>
</persistence-unit>
<persistence-unit name="MulitPU-5" transaction-type="%%transaction-type%%">
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
<%%datasource-type%%>%%data-source-name%%</%%datasource-type%%>
<class>org.eclipse.persistence.testing.models.jpa.xml.inheritance.FueledVehicle</class>
<exclude-unlisted-classes>true</exclude-unlisted-classes>
</persistence-unit>
</persistence>