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>
7 <property name="javax.persistence.schema-generation.database.action" value="drop-and-create"/>