Configured the 5.2.18-tutorials as integration-tests for the plugin
[hibernate4-maven-plugin] / src / it / tutorials-5.2.18 / envers / src / test / resources / META-INF / persistence.xml
1 <!--
2   ~ Hibernate, Relational Persistence for Idiomatic Java
3   ~
4   ~ License: GNU Lesser General Public License (LGPL), version 2.1 or later.
5   ~ See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
6   -->
7 <persistence xmlns="http://java.sun.com/xml/ns/persistence"
8              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9              xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
10              version="2.0">
11
12     <persistence-unit name="org.hibernate.tutorial.envers">
13         <description>
14             Persistence unit for the Envers tutorial of the Hibernate Getting Started Guide
15         </description>
16
17         <class>org.hibernate.tutorial.envers.Event</class>
18
19         <properties>
20             <property name="javax.persistence.jdbc.driver" value="org.h2.Driver" />
21             <property name="javax.persistence.jdbc.url" value="jdbc:h2:${project.build.directory}/db/test;MVCC=TRUE" />
22             <property name="javax.persistence.jdbc.user" value="sa" />
23             <property name="javax.persistence.jdbc.password" value="" />
24
25             <property name="hibernate.show_sql" value="true" />
26             <property name="hibernate.hbm2ddl.auto" value="create" />
27         </properties>
28
29     </persistence-unit>
30
31 </persistence>