Prepared for the addition of a second persistence-unit
[jpa-converters] / src / test / resources / META-INF / persistence.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <persistence
3     xmlns="http://java.sun.com/xml/ns/persistence"
4     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5     version="1.0">
6
7   <persistence-unit name="annotated">
8     <class>de.juplo.jpa.converters.OffsetDateTime</class>
9     <class>de.juplo.jpa.converters.ZonedDateTime</class>
10     <properties>
11       <property name="javax.persistence.jdbc.driver" value="org.h2.Driver"/>
12       <property name="javax.persistence.jdbc.user" value="sa"/>
13       <property name="javax.persistence.jdbc.password" value=""/>
14       <property name="javax.persistence.jdbc.url" value="jdbc:h2:mem:"/>
15       <property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect"/>
16       <property name="hibernate.hbm2ddl.auto" value="create"/>
17     </properties>
18   </persistence-unit>
19
20 </persistence>