Added tutorials of the hibernate-release 4.3.9.Final as integration-tests
[hibernate-maven-plugin] / src / it / tutorials / osgi / managed-jpa / src / main / resources / META-INF / persistence.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <persistence xmlns="http://java.sun.com/xml/ns/persistence"
3     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4     version="1.0">
5     <persistence-unit name="managed-jpa" transaction-type="JTA">
6         <jta-data-source>osgi:service/javax.sql.DataSource/(osgi.jndi.service.name=jdbc/h2ds)</jta-data-source>
7         
8         <properties>
9             <property name="hibernate.connection.driver_class" value="org.h2.Driver"/>
10             <property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect"/>
11             <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
12             <property name="hibernate.archive.autodetection" value="class"/>
13         </properties>
14     </persistence-unit>
15 </persistence>