Created
January 4, 2013 22:48
-
-
Save natbusa/4458174 to your computer and use it in GitHub Desktop.
jpa settings for scala and hibernate
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://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd" | |
version="2.0"> | |
<persistence-unit name="com.natalinobusa.jpa.HibernateJpaScalaTutorial"> | |
<description> | |
Persistence unit for the JPA tutorial of the Hibernate Getting Started Guide | |
</description> | |
<class>nl.busa.jpa.HibernateJpaScalaTutorial</class> | |
<properties> | |
<property name="javax.persistence.jdbc.driver" value="org.hsqldb.jdbcDriver"/> | |
<property name="javax.persistence.jdbc.url" value="jdbc:hsqldb:mem:JpaScala"/> | |
<property name="hibernate.show_sql" value="false"/> | |
<property name="hibernate.hbm2ddl.auto" value="create"/> | |
</properties> | |
</persistence-unit> | |
</persistence> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment