Fixed error-reporting: errors reported by Hibernate are no longer swallowed
[hibernate4-maven-plugin] / src / it / tutorials / osgi / unmanaged-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="unmanaged-jpa">
6         <class>org.hibernate.osgitest.entity.DataPoint</class>
7         <exclude-unlisted-classes>true</exclude-unlisted-classes>
8         
9         <properties>
10             <property name="hibernate.connection.driver_class" value="org.h2.Driver"/>
11             <property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect"/>
12             <property name="hibernate.connection.url" value="jdbc:h2:mem:db_unmanaged_jpa;DB_CLOSE_DELAY=-1;MVCC=TRUE"/>
13             <property name="hibernate.connection.username" value="sa"/>
14             <property name="hibernate.connection.password" value=""/>
15             <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
16         </properties>
17     </persistence-unit>
18 </persistence>