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

http://sigma-h.googlecode.com/ · XML · 21 lines · 15 code · 2 blank · 4 comment · 0 complexity · 7d79c9dc6c3995a05b9e3a475fc7229e 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.PostgreSQLDialect</property>
  11. <property name="connection.driver_class">org.postgresql.Driver</property>
  12. <property name="connection.username">postgres</property>
  13. <property name="connection.password">adminpwd</property>
  14. <property name="connection.url">jdbc:postgresql://localhost:5432/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>