blob: 1b822b9de982a0193bd98a514b24bbaa077ed1dd [file] [log] [blame]
emacleec9275522022-03-23 11:02:03 +00001<?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">
5
6<hibernate-configuration>
7 <session-factory>
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>
egernug186b9012023-09-27 10:49:45 +010012 <property name="hibernate.dialect">org.hibernate.dialect.PostgreSQLDialect</property>
emacleec9275522022-03-23 11:02:03 +000013 <property name="show_sql">true</property>
14 <property name="hibernate.hbm2ddl.auto">update</property>
15 </session-factory>
16</hibernate-configuration>