PageRenderTime 17ms CodeModel.GetById 12ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/sigmah/src/test/resources/hibernate-tests-h2.cfg.xml

http://sigma-h.googlecode.com/
XML | 20 lines | 15 code | 1 blank | 4 comment | 0 complexity | f6b22d7c0868806505697fa72e7f1eb2 MD5 | raw file
 1<!--
 2  ~ All Sigmah code is released under the GNU General Public License v3
 3  ~ See COPYRIGHT.txt and LICENSE.txt.
 4  -->
 5
 6<!DOCTYPE hibernate-configuration PUBLIC
 7        "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
 8        "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
 9<hibernate-configuration>
10    <session-factory>
11        <property name="dialect">org.hibernate.dialect.H2Dialect</property>
12        <property name="connection.driver_class">org.h2.Driver</property>
13        <property name="connection.username">sa</property>
14        <property name="connection.password"></property>
15        <property name="connection.url">jdbc:h2:mem:activityinfo;IGNORECASE=TRUE</property>
16        <property name="show_sql">true</property>
17        <property name="hbm2ddl.auto">create</property>
18        <property name="format_sql">true</property>
19    </session-factory>
20</hibernate-configuration>