All checks were successful
continuous-integration/drone/push Build is passing
29 lines
1.1 KiB
XML
29 lines
1.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE hibernate-configuration PUBLIC
|
|
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
|
|
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
|
|
|
<hibernate-configuration>
|
|
<session-factory>
|
|
|
|
<!-- Connection settings -->
|
|
<property name="hibernate.connection.driver_class">org.postgresql.Driver</property>
|
|
<property name="hibernate.connection.url">jdbc:postgresql://localhost:5432/releasehive</property>
|
|
<property name="hibernate.connection.username">relhive</property>
|
|
<property name="hibernate.connection.password">development</property>
|
|
|
|
<!-- SQL dialect -->
|
|
<property name="hibernate.dialect">org.hibernate.dialect.PostgreSQLDialect</property>
|
|
|
|
<!-- Print executed SQL to stdout -->
|
|
<property name="show_sql">true</property>
|
|
|
|
<!-- Update database on startup -->
|
|
<property name="hibernate.hbm2ddl.auto">update</property>
|
|
|
|
<!-- Annotated entity classes -->
|
|
<mapping class="wtf.beatrice.releasehive.models.User"/>
|
|
|
|
</session-factory>
|
|
</hibernate-configuration>
|