/sigmah/src/test/resources/hibernate-tests-postgres.cfg.xml
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 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 12 <property name="dialect">org.hibernate.dialect.PostgreSQLDialect</property> 13 <property name="connection.driver_class">org.postgresql.Driver</property> 14 <property name="connection.username">postgres</property> 15 <property name="connection.password">adminpwd</property> 16 <property name="connection.url">jdbc:postgresql://localhost:5432/sigmah-test</property> 17 <property name="show_sql">true</property> 18 <property name="hbm2ddl.auto">create-drop</property> 19 <property name="format_sql">true</property> 20 </session-factory> 21</hibernate-configuration>