a02aed605d556c7a5f318d60963ab92ba8ab7965
[jpa-converters] / persistence.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <persistence
3     xmlns="http://xmlns.jcp.org/xml/ns/persistence"
4     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5     xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd"
6     version="2.1">
7
8   <persistence-unit name="annotated">
9     <description>Classes are mapped with annotations</description>
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>