/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. <!DOCTYPE hibernate-configuration PUBLIC
  6. "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
  7. "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
  8. <hibernate-configuration>
  9. <session-factory>
  10. <property name="dialect">org.hibernate.dialect.MySQL5Dialect</property>
  11. <property name="connection.driver_class">com.mysql.jdbc.Driver</property>
  12. <property name="connection.username">sa</property>
  13. <property name="connection.password">adminpwd</property>
  14. <property name="connection.url">jdbc:mysql://localhost/sigmah-test</property>
  15. <property name="show_sql">true</property>
  16. <property name="hbm2ddl.auto">create-drop</property>
  17. <property name="format_sql">true</property>
  18. </session-factory>
  19. </hibernate-configuration>