]> git.mxchange.org Git - jjobs-ejb.git/blob - src/conf/persistence.xml
added persitence unit:
[jjobs-ejb.git] / src / conf / persistence.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3   <persistence-unit name="jcontacts-ejbPU" transaction-type="JTA">
4     <jta-data-source>jdbc/jjobs</jta-data-source>
5     <class>org.mxchange.jcontacts.contact.UserContact</class>
6     <class>org.mxchange.jcontactsbusiness.CompanyContact</class>
7     <class>org.mxchange.jcontactsbusiness.basicdata.CompanyBasicData</class>
8     <class>org.mxchange.jcontactsbusiness.branch.CompanyBranchOffice</class>
9     <class>org.mxchange.jcontactsbusiness.department.CompanyDepartment</class>
10     <class>org.mxchange.jcontactsbusiness.employee.CompanyEmployee</class>
11     <class>org.mxchange.jcontactsbusiness.headquarters.CompanyHeadQuartersData</class>
12     <class>org.mxchange.jcontactsbusiness.jobposition.EmployeePosition</class>
13     <class>org.mxchange.jcontactsbusiness.logo.CompanyLogo</class>
14     <class>org.mxchange.jcountry.data.CountryData</class>
15     <class>org.mxchange.jphone.phonenumbers.cellphone.CellphoneNumber</class>
16     <class>org.mxchange.jphone.phonenumbers.fax.FaxNumber</class>
17     <class>org.mxchange.jphone.phonenumbers.landline.LandLineNumber</class>
18     <class>org.mxchange.jphone.phonenumbers.smsprovider.CellphoneProvider</class>
19     <exclude-unlisted-classes>false</exclude-unlisted-classes>
20     <properties>
21       <property name="javax.persistence.schema-generation.database.action" value="drop-and-create"/>
22     </properties>
23   </persistence-unit>
24 </persistence>