]> git.mxchange.org Git - pizzaservice-mailer-ejb.git/blobdiff - src/conf/persistence.xml
added entity to persitence unit (maybe cherry-pickable)
[pizzaservice-mailer-ejb.git] / src / conf / persistence.xml
index 6645ace1dea37e82d3ce502e0ff533cf2fc55900..58a1e87dbcc716b9a7371562f0701fe05723e461 100644 (file)
@@ -1,21 +1,31 @@
 <?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">
-       <persistence-unit name="addressbook-ejbPU" transaction-type="JTA">
-               <jta-data-source>jdbc/contacts</jta-data-source>
-               <class>org.mxchange.addressbook.model.addressbook.UserAddressbook</class>
-               <class>org.mxchange.addressbook.model.addressbook.entry.UserAddressbookEntry</class>
-               <class>org.mxchange.jcontacts.contact.UserContact</class>
-               <class>org.mxchange.jcontactsbusiness.CompanyContact</class>
-               <class>org.mxchange.jcontactsbusiness.basicdata.CompanyBasicData</class>
-               <class>org.mxchange.jcontactsbusiness.branch.CompanyBranchOffice</class>
-               <class>org.mxchange.jcontactsbusiness.department.CompanyDepartment</class>
-               <class>org.mxchange.jcontactsbusiness.employee.CompanyEmployee</class>
-               <class>org.mxchange.jcontactsbusiness.headquarters.CompanyHeadQuartersData</class>
-               <class>org.mxchange.jcontactsbusiness.logo.CompanyLogo</class>
-               <class>org.mxchange.jusercore.model.user.LoginUser</class>
-               <exclude-unlisted-classes>false</exclude-unlisted-classes>
-               <properties>
-                       <property name="javax.persistence.schema-generation.database.action" value="drop-and-create"/>
-               </properties>
-       </persistence-unit>
+  <persistence-unit name="addressbook-ejbPU" transaction-type="JTA">
+    <jta-data-source>jdbc/addressbook</jta-data-source>
+    <class>org.mxchange.addressbook.model.addressbook.UserAddressbook</class>
+    <class>org.mxchange.addressbook.model.addressbook.entry.UserAddressbookEntry</class>
+    <class>org.mxchange.addressbook.model.addressbook.shared.AddressbookShare</class>
+    <class>org.mxchange.jcontacts.contact.UserContact</class>
+    <class>org.mxchange.jcontactsbusiness.CompanyContact</class>
+    <class>org.mxchange.jcontactsbusiness.basicdata.CompanyBasicData</class>
+    <class>org.mxchange.jcontactsbusiness.branch.CompanyBranchOffice</class>
+    <class>org.mxchange.jcontactsbusiness.department.CompanyDepartment</class>
+    <class>org.mxchange.jcontactsbusiness.employee.CompanyEmployee</class>
+    <class>org.mxchange.jcontactsbusiness.headquarters.CompanyHeadQuartersData</class>
+    <class>org.mxchange.jcontactsbusiness.jobposition.EmployeePosition</class>
+    <class>org.mxchange.jcontactsbusiness.logo.CompanyLogo</class>
+    <class>org.mxchange.jcontactsbusiness.opening_times.BusinessOpeningTimes</class>
+    <class>org.mxchange.jcountry.data.CountryData</class>
+    <class>org.mxchange.jphone.phonenumbers.cellphone.CellphoneNumber</class>
+    <class>org.mxchange.jphone.phonenumbers.fax.FaxNumber</class>
+    <class>org.mxchange.jphone.phonenumbers.landline.LandLineNumber</class>
+    <class>org.mxchange.jphone.phonenumbers.mobileprovider.CellphoneProvider</class>
+    <class>org.mxchange.jusercore.model.email_address.EmailAddressChange</class>
+    <class>org.mxchange.jusercore.model.user.LoginUser</class>
+    <class>org.mxchange.jusercore.model.user.password_history.UserPasswordHistory</class>
+    <exclude-unlisted-classes>false</exclude-unlisted-classes>
+    <properties>
+      <property name="javax.persistence.schema-generation.database.action" value="drop-and-create"/>
+    </properties>
+  </persistence-unit>
 </persistence>