]> git.mxchange.org Git - pizzaservice-mailer-ejb.git/commitdiff
switched to own JDBC resource
authorRoland Haeder <roland@mxchange.org>
Wed, 2 Mar 2016 20:18:07 +0000 (21:18 +0100)
committerRoland Haeder <roland@mxchange.org>
Wed, 2 Mar 2016 20:18:07 +0000 (21:18 +0100)
src/conf/persistence.xml

index 371a823ab0b6559a5b20ea776e95d6e6c78cdfdf..92674db7070448b04e606922f2a74e1825a3f047 100644 (file)
@@ -1,7 +1,7 @@
 <?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>
+    <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>