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

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

http://sigma-h.googlecode.com/
XML | 20 lines | 15 code | 1 blank | 4 comment | 0 complexity | 95be31a598fa571db3b20000fb5f757d 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.MySQL5Dialect</property>
12        <property name="connection.driver_class">com.mysql.jdbc.Driver</property>
13        <property name="connection.username">sa</property>
14        <property name="connection.password">adminpwd</property>
15        <property name="connection.url">jdbc:mysql://localhost/sigmah-test</property>
16        <property name="show_sql">true</property>
17        <property name="hbm2ddl.auto">create-drop</property>
18        <property name="format_sql">true</property>
19    </session-factory>
20</hibernate-configuration>