finish him
[facafesta.git] / src / main / resources / META-INF / persistence.xml
blob71927689532e7b6d63c74d4885c55054da633b5b
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         xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
5         version="2.0">
6         <persistence-unit name="a" transaction-type="RESOURCE_LOCAL">
7                 <provider>org.hibernate.ejb.HibernatePersistence</provider>
8                 <properties>
9                         <property name="hibernate.dialect" value="org.hibernate.dialect.HSQLDialect" />
10                         <property name="hibernate.connection.url" value="jdbc:hsqldb:mem:a" />
11                         <property name="hibernate.hbm2ddl.auto" value="create-drop" />
12                 </properties>
13         </persistence-unit>
14 </persistence>