Git Repositories

Initial
[xerox-elastic-poc.git] / src / main / resources / META-INF / persistence.xml
1 <persistence xmlns="http://java.sun.com/xml/ns/persistence"
2              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3              xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
4              version="2.0">
5     <persistence-unit name="xerox-app" transaction-type="RESOURCE_LOCAL">
6         <class>com.viseo.xerox.elastic.InterrestPoint</class>
7         <class>com.viseo.xerox.elastic.MobilityPoint</class>
8         <properties>
9             <property name="javax.persistence.jdbc.driver" value="org.h2.Driver" />
10             <property name="javax.persistence.jdbc.url" value="jdbc:h2:file:./target/xerox;DB_CLOSE_DELAY=-1" />
11             <property name="javax.persistence.jdbc.user" value="sa" />
12             <property name="javax.persistence.jdbc.password" value="" />
13             <property name="hibernate.show_sql" value="false" />
14             <property name="hibernate.hbm2ddl.auto" value="update" />
15         </properties>
16     </persistence-unit>
17 </persistence>