emaclee | c927552 | 2022-03-23 11:02:03 +0000 | [diff] [blame] | 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"> |
| 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> |
egernug | 186b901 | 2023-09-27 10:49:45 +0100 | [diff] [blame^] | 12 | <property name="hibernate.dialect">org.hibernate.dialect.PostgreSQLDialect</property> |
emaclee | c927552 | 2022-03-23 11:02:03 +0000 | [diff] [blame] | 13 | <property name="show_sql">true</property> |
| 14 | <property name="hibernate.hbm2ddl.auto">update</property> |
| 15 | </session-factory> |
| 16 | </hibernate-configuration> |