]> git.mxchange.org Git - pizzaservice-mailer-ejb.git/commitdiff
switched to CREATE mode
authorRoland Haeder <roland@mxchange.org>
Wed, 14 Oct 2015 06:36:30 +0000 (08:36 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 14 Oct 2015 06:36:30 +0000 (08:36 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/conf/persistence.xml

index 6617ac0611e7110977fff367e93c4a93ec41c336..edf900b77e28089afaf04ebb3e253a3c0929c00f 100644 (file)
@@ -4,6 +4,7 @@
     <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.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>
@@ -21,7 +22,7 @@
     <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"/>
+      <property name="javax.persistence.schema-generation.database.action" value="create"/>
     </properties>
   </persistence-unit>
 </persistence>