1 <?xml version="1.0" encoding="UTF-8"?>
3 ~ Hibernate, Relational Persistence for Idiomatic Java
5 ~ License: GNU Lesser General Public License (LGPL), version 2.1 or later.
6 ~ See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
8 <persistence xmlns="http://java.sun.com/xml/ns/persistence"
9 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11 <persistence-unit name="managed-jpa" transaction-type="JTA">
12 <jta-data-source>osgi:service/javax.sql.DataSource/(osgi.jndi.service.name=jdbc/h2ds)</jta-data-source>
15 <property name="hibernate.connection.driver_class" value="org.h2.Driver"/>
16 <property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect"/>
17 <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
18 <property name="hibernate.archive.autodetection" value="class"/>