]> git.mxchange.org Git - addressbook-ejb.git/blob - src/conf/persistence.xml
Rewrite:
[addressbook-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="addressbook-ejbPU" transaction-type="JTA">
4     <jta-data-source>jdbc/contacts</jta-data-source>
5     <exclude-unlisted-classes>false</exclude-unlisted-classes>
6     <properties>
7       <property name="javax.persistence.schema-generation.database.action" value="drop-and-create"/>
8     </properties>
9   </persistence-unit>
10 </persistence>