META-INF.persistence.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <persistence version="2.1" xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd"> <!-- copy/paste the following properties into a persistence unit's <properties> section to enable logging and/or generate a DDL script <property name="eclipselink.ddl-generation.output-mode" value="both"/> <property name="eclipselink.logging.level" value="FINE"/> <property name="eclipselink.logging.level.sql" value="FINE"/> <property name="eclipselink.logging.parameters" value="true"/> --> <persistence-unit name="Test0a_basic_table" transaction-type="RESOURCE_LOCAL"> <class>com.github.gentity.test.test0a_basic_table.Person</class> <exclude-unlisted-classes>true</exclude-unlisted-classes> </persistence-unit> <persistence-unit name="Test0b_basic_table_sequence" transaction-type="RESOURCE_LOCAL"> <class>com.github.gentity.test.test0b_basic_table_sequence.Person</class> <exclude-unlisted-classes>true</exclude-unlisted-classes> </persistence-unit> <persistence-unit name="Test0c_basic_table_autoincrement" transaction-type="RESOURCE_LOCAL"> <class>com.github.gentity.test.test0c_basic_table_autoincrement.Person</class> <exclude-unlisted-classes>true</exclude-unlisted-classes> </persistence-unit> <persistence-unit name="Test0d_basic_table_blob" transaction-type="RESOURCE_LOCAL"> <class>com.github.gentity.test.test0d_basic_table_blob.Document</class> <exclude-unlisted-classes>true</exclude-unlisted-classes> </persistence-unit> <persistence-unit name="Test0e_basic_table_field" transaction-type="RESOURCE_LOCAL"> <class>com.github.gentity.test.test0e_basic_table_field.Person</class> <exclude-unlisted-classes>true</exclude-unlisted-classes> </persistence-unit> <persistence-unit name="Test0f_basic_table_enumerated" transaction-type="RESOURCE_LOCAL"> <class>com.github.gentity.test.test0f_basic_table_enumerated.Movie</class> <exclude-unlisted-classes>true</exclude-unlisted-classes> </persistence-unit> <persistence-unit name="Test0g_basic_table_composite_pk" transaction-type="RESOURCE_LOCAL"> <class>com.github.gentity.test.test0g_basic_table_composite_pk.Partyguest</class> <exclude-unlisted-classes>true</exclude-unlisted-classes> </persistence-unit> <persistence-unit name="Test1a_many_to_one" transaction-type="RESOURCE_LOCAL"> <class>com.github.gentity.test.test1a_many_to_one.Company</class> <class>com.github.gentity.test.test1a_many_to_one.Employee</class> <exclude-unlisted-classes>true</exclude-unlisted-classes> </persistence-unit> <persistence-unit name="Test1b_one_to_one" transaction-type="RESOURCE_LOCAL"> <class>com.github.gentity.test.test1b_one_to_one.Companycar</class> <class>com.github.gentity.test.test1b_one_to_one.Desk</class> <class>com.github.gentity.test.test1b_one_to_one.Employee</class> <exclude-unlisted-classes>true</exclude-unlisted-classes> </persistence-unit> <persistence-unit name="Test1c_many_to_many" transaction-type="RESOURCE_LOCAL"> <class>com.github.gentity.test.test1c_many_to_many.Book</class> <class>com.github.gentity.test.test1c_many_to_many.Author</class> <exclude-unlisted-classes>true</exclude-unlisted-classes> </persistence-unit> <persistence-unit name="Test1d_many_to_one_unidirectional" transaction-type="RESOURCE_LOCAL"> <class>com.github.gentity.test.test1d_many_to_one_unidirectional.Parent</class> <class>com.github.gentity.test.test1d_many_to_one_unidirectional.Child</class> <exclude-unlisted-classes>true</exclude-unlisted-classes> </persistence-unit> <persistence-unit name="Test1e_one_to_one_unidirectional" transaction-type="RESOURCE_LOCAL"> <class>com.github.gentity.test.test1e_one_to_one_unidirectional.Companycar</class> <class>com.github.gentity.test.test1e_one_to_one_unidirectional.Desk</class> <class>com.github.gentity.test.test1e_one_to_one_unidirectional.Employee</class> <exclude-unlisted-classes>true</exclude-unlisted-classes> </persistence-unit> <persistence-unit name="Test1f_many_to_many_unidirectional" transaction-type="RESOURCE_LOCAL"> <class>com.github.gentity.test.test1f_many_to_many_unidirectional.Book</class> <class>com.github.gentity.test.test1f_many_to_many_unidirectional.Ghostwriter</class> <exclude-unlisted-classes>true</exclude-unlisted-classes> </persistence-unit> <persistence-unit name="Test1g_many_to_many_defaulted" transaction-type="RESOURCE_LOCAL"> <class>com.github.gentity.test.test1g_many_to_many_defaulted.Book</class> <class>com.github.gentity.test.test1g_many_to_many_defaulted.Author</class> <exclude-unlisted-classes>true</exclude-unlisted-classes> </persistence-unit> <persistence-unit name="Test1h_many_to_one_composite_pk" transaction-type="RESOURCE_LOCAL"> <class>com.github.gentity.test.test1h_many_to_one_composite_pk.Partyguest</class> <class>com.github.gentity.test.test1h_many_to_one_composite_pk.Cloakroomitem</class> <exclude-unlisted-classes>true</exclude-unlisted-classes> </persistence-unit> <persistence-unit name="Test1i_many_to_many_composite_pk" transaction-type="RESOURCE_LOCAL"> <class>com.github.gentity.test.test1i_many_to_many_composite_pk.Partyguest</class> <class>com.github.gentity.test.test1i_many_to_many_composite_pk.Choffeur</class> <exclude-unlisted-classes>true</exclude-unlisted-classes> </persistence-unit> <persistence-unit name="Test1" transaction-type="RESOURCE_LOCAL"> <class>com.github.gentity.test.test1.Customer</class> <class>com.github.gentity.test.test1.User</class> <exclude-unlisted-classes>true</exclude-unlisted-classes> </persistence-unit> <persistence-unit name="Test4a_polymorphism_joined" transaction-type="RESOURCE_LOCAL"> <class>com.github.gentity.test.test4a_polymorphism_joined.Lifeform</class> <class>com.github.gentity.test.test4a_polymorphism_joined.Mammal</class> <class>com.github.gentity.test.test4a_polymorphism_joined.Insect</class> <exclude-unlisted-classes>true</exclude-unlisted-classes> </persistence-unit> <persistence-unit name="Test4b_polymorphism_single_table" transaction-type="RESOURCE_LOCAL"> <class>com.github.gentity.test.test4b_polymorphism_single_table.Lifeform</class> <class>com.github.gentity.test.test4b_polymorphism_single_table.Mammal</class> <class>com.github.gentity.test.test4b_polymorphism_single_table.Insect</class> <exclude-unlisted-classes>true</exclude-unlisted-classes> </persistence-unit> <persistence-unit name="Test4d_polymorphism_single_table_relations" transaction-type="RESOURCE_LOCAL"> <class>com.github.gentity.test.test4d_polymorphism_single_table_relations.Lifeform</class> <class>com.github.gentity.test.test4d_polymorphism_single_table_relations.Mammal</class> <class>com.github.gentity.test.test4d_polymorphism_single_table_relations.Dog</class> <class>com.github.gentity.test.test4d_polymorphism_single_table_relations.Insect</class> <class>com.github.gentity.test.test4d_polymorphism_single_table_relations.DogAccessories</class> <class>com.github.gentity.test.test4d_polymorphism_single_table_relations.BiteBone</class> <class>com.github.gentity.test.test4d_polymorphism_single_table_relations.Kennel</class> <exclude-unlisted-classes>true</exclude-unlisted-classes> </persistence-unit> <persistence-unit name="Test5a_element_collection_embeddable" transaction-type="RESOURCE_LOCAL"> <class>com.github.gentity.test.test5a_element_collection_embeddable.Person</class> <class>com.github.gentity.test.test5a_element_collection_embeddable.PhoneNumber</class> <exclude-unlisted-classes>true</exclude-unlisted-classes> </persistence-unit> <persistence-unit name="Test5b_element_collection_embeddable_inheritance" transaction-type="RESOURCE_LOCAL"> <class>com.github.gentity.test.test5b_element_collection_embeddable_inheritance.Lifeform</class> <class>com.github.gentity.test.test5b_element_collection_embeddable_inheritance.Person</class> <class>com.github.gentity.test.test5b_element_collection_embeddable_inheritance.PhoneNumber</class> <exclude-unlisted-classes>true</exclude-unlisted-classes> </persistence-unit> <persistence-unit name="Test5c_element_collection_embeddable_relations" transaction-type="RESOURCE_LOCAL"> <class>com.github.gentity.test.test5c_element_collection_embeddable_relations.Product</class> <class>com.github.gentity.test.test5c_element_collection_embeddable_relations.PizzaOrder</class> <exclude-unlisted-classes>true</exclude-unlisted-classes> </persistence-unit> <persistence-unit name="Test5d_element_collection_embeddable_composite_pk" transaction-type="RESOURCE_LOCAL"> <class>com.github.gentity.test.test5d_element_collection_embeddable_composite_pk.Partyguest</class> <exclude-unlisted-classes>true</exclude-unlisted-classes> </persistence-unit> <persistence-unit name="Test6a_inheritance_basic_tables" transaction-type="RESOURCE_LOCAL"> <class>com.github.gentity.test.test6a_inheritance_basic_tables.Person</class> <class>com.github.gentity.test.test6a_inheritance_basic_tables.Car</class> <exclude-unlisted-classes>true</exclude-unlisted-classes> </persistence-unit> </persistence>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy