1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE hibernate-configuration PUBLIC
3 "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
4 "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
6 <hibernate-configuration>
8 <property name="hibernate.connection.driver_class">org.postgresql.Driver</property>
9 <property name="hibernate.connection.url">jdbc:postgresql://${DB_HOST}:${DB_PORT:5432}/cpsdb</property>
10 <property name="hibernate.connection.username">${DB_USERNAME}</property>
11 <property name="hibernate.connection.password">${DB_PASSWORD}</property>
12 <property name="hibernate.dialect">org.hibernate.dialect.PostgreSQL82Dialect</property>
13 <property name="show_sql">true</property>
14 <property name="hibernate.hbm2ddl.auto">update</property>
16 </hibernate-configuration>