/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
- <!--
- ~ All Sigmah code is released under the GNU General Public License v3
- ~ See COPYRIGHT.txt and LICENSE.txt.
- -->
-
- <!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="dialect">org.hibernate.dialect.MySQL5Dialect</property>
- <property name="connection.driver_class">com.mysql.jdbc.Driver</property>
- <property name="connection.username">sa</property>
- <property name="connection.password">adminpwd</property>
- <property name="connection.url">jdbc:mysql://localhost/sigmah-test</property>
- <property name="show_sql">true</property>
- <property name="hbm2ddl.auto">create-drop</property>
- <property name="format_sql">true</property>
- </session-factory>
- </hibernate-configuration>