-
Notifications
You must be signed in to change notification settings - Fork 1
/
hibernate.cfg.xml
18 lines (18 loc) · 988 Bytes
/
hibernate.cfg.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="hibernate.connection.url">
jdbc:mysql://db:3306/dojo</property>
<property name="hibernate.connection.username">root</property>
<property name="hibernate.connection.password">k2j32ks4</property>
<property name="hibernate.connection.pool_size">10</property>
<property name="show_sql">true</property>
<property name="dialect">org.hibernate.dialect.MySQL57Dialect</property>
<property name="hibernate.hbm2ddl.auto">update</property>
<property name="hibernate.connection.isolation">4</property>
<mapping class="com.ciandt.model.Quote"/>
</session-factory>
</hibernate-configuration>