2 ~ Hibernate, Relational Persistence for Idiomatic Java
4 ~ Copyright (c) 2010, Red Hat Inc. or third-party contributors as
5 ~ indicated by the @author tags or express copyright attribution
6 ~ statements applied by the authors. All third-party contributions are
7 ~ distributed under license by Red Hat Inc.
9 ~ This copyrighted material is made available to anyone wishing to use, modify,
10 ~ copy, or redistribute it subject to the terms and conditions of the GNU
11 ~ Lesser General Public License, as published by the Free Software Foundation.
13 ~ This program is distributed in the hope that it will be useful,
14 ~ but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15 ~ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
18 ~ You should have received a copy of the GNU Lesser General Public License
19 ~ along with this distribution; if not, write to:
20 ~ Free Software Foundation, Inc.
21 ~ 51 Franklin Street, Fifth Floor
22 ~ Boston, MA 02110-1301 USA
24 <persistence xmlns="http://java.sun.com/xml/ns/persistence"
25 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
26 xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
29 <persistence-unit name="org.hibernate.tutorial.envers">
31 Persistence unit for the Envers tutorial of the Hibernate Getting Started Guide
34 <class>org.hibernate.tutorial.envers.Event</class>
37 <property name="javax.persistence.jdbc.driver" value="org.h2.Driver" />
38 <property name="javax.persistence.jdbc.url" value="jdbc:h2:${project.build.directory}/db/test;MVCC=TRUE" />
39 <property name="javax.persistence.jdbc.user" value="sa" />
40 <property name="javax.persistence.jdbc.password" value="" />
42 <property name="hibernate.show_sql" value="true" />
43 <property name="hibernate.hbm2ddl.auto" value="create" />