Created
December 1, 2012 10:18
-
-
Save rvazquezglez/4181407 to your computer and use it in GitHub Desktop.
archivo cfg para hibernate con h2.
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"?> | |
<!DOCTYPE hibernate-configuration PUBLIC | |
"-//Hibernate/Hibernate Configuration DTD 3.0//EN" | |
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> | |
<hibernate-configuration> | |
<session-factory> | |
<property name="hibernate.connection.driver_class">org.h2.Driver</property> | |
<property name="hibernate.connection.password">sa</property> | |
<property name="hibernate.connection.url">jdbc:h2:tcp://localhost/mem:test</property> | |
<property name="hibernate.connection.username">sa</property> | |
<property name="hibernate.dialect">org.hibernate.dialect.H2Dialect</property> | |
</session-factory> | |
</hibernate-configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment