Added patch by Joachim Van der Auwera to support package level annotations
[hibernate4-maven-plugin] / src / it / dependency-test / h4mp / src / main / resources / META-INF / persistence.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <persistence version="2.0"
3         xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4         xsi:schemaLocation="
5         http://java.sun.com/xml/ns/persistence
6         http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
7         <persistence-unit name="primary">
8                 <jta-data-source>java:jboss/datasources/PostgreSQLDS</jta-data-source>
9
10                 <class>dependent.DependentEntity</class>
11
12                 <properties>
13                         <property name="hibernate.hbm2ddl.auto" value="create-drop" />
14                         <property name="hibernate.show_sql" value="true" />
15                 </properties>
16         </persistence-unit>
17 </persistence>