From: Roland Haeder <roland@mxchange.org> Date: Sat, 10 Oct 2015 20:36:26 +0000 (+0200) Subject: registered all entity classes again X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3c90f1aa0955337ab1d543fb08292a8012c22c5f;p=addressbook-ejb.git registered all entity classes again --- diff --git a/src/conf/persistence.xml b/src/conf/persistence.xml index bae4482..1306119 100644 --- a/src/conf/persistence.xml +++ b/src/conf/persistence.xml @@ -2,6 +2,22 @@ <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.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.smsprovider.CellphoneProvider</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"/>