Created
October 10, 2016 16:42
-
-
Save hadson172/94c3d3f69151ecada5244ac93a983ca0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<persistence xmlns="http://xmlns.jcp.org/xml/ns/persistence" version="2.1"> | |
<persistence-unit name="CrudPU" transaction-type="RESOURCE_LOCAL"> | |
<class>crudapp.model.Person</class> | |
<properties> | |
<property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect"/> | |
<property name="hibernate.connection.driver_class" value="org.h2.Driver"/> | |
<property name="hibernate.connection.url" value="jdbc:h2:./src/test/db/test"/> | |
<property name="hibernate.hbm2ddl.auto" value="create-drop"/> | |
</properties> | |
</persistence-unit> | |
</persistence> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment