|
@@ -1,23 +1,23 @@
|
1
|
|
-<?xml version="1.0" encoding="UTF-8"?>
|
2
|
|
-<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
|
3
|
|
- "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
4
|
|
-<hibernate-configuration>
|
5
|
|
- <session-factory name="">
|
6
|
|
- <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
|
7
|
|
- <property name="hibernate.connection.password">tokki1127</property>
|
8
|
|
- <property name="hibernate.connection.url">jdbc:mysql://localhost:3306/market</property>
|
9
|
|
- <property name="hibernate.connection.username">root</property>
|
10
|
|
- <property name="hibernate.dialect">org.hibernate.dialect.MariaDB53Dialect</property>
|
11
|
|
-
|
12
|
|
- <property name="hibernate.connection.pool_size">3</property>
|
13
|
|
- <property name="hibernate.c3p0.min_size">5</property>
|
14
|
|
- <property name="hibernate.c3p0.max_size">20</property>
|
15
|
|
- <property name="hibernate.c3p0.timeout">300</property>
|
16
|
|
- <property name="hibernate.c3p0.max_statements">50</property>
|
17
|
|
- <property name="hibernate.c3p0.idle_test_period">3000</property>
|
18
|
|
-
|
19
|
|
- <property name="hibernate.hbm2ddl.auto">create</property>
|
20
|
|
- <property name="hibernate.show_sql">true</property>
|
21
|
|
- <mapping resource="kr/co/swh/lecture/opensource/hibernate/hbm/SWHAcademy.hbm.xml" />
|
22
|
|
- </session-factory>
|
23
|
|
-</hibernate-configuration>
|
|
1
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
|
|
3
|
+ "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
|
4
|
+<hibernate-configuration>
|
|
5
|
+ <session-factory name="">
|
|
6
|
+ <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
|
|
7
|
+ <property name="hibernate.connection.password">swhacademy!</property>
|
|
8
|
+ <property name="hibernate.connection.url">jdbc:mysql://dev-swh.ga:3306/market</property>
|
|
9
|
+ <property name="hibernate.connection.username">root</property>
|
|
10
|
+ <property name="hibernate.dialect">org.hibernate.dialect.MariaDB53Dialect</property>
|
|
11
|
+
|
|
12
|
+ <property name="hibernate.connection.pool_size">3</property>
|
|
13
|
+ <property name="hibernate.c3p0.min_size">5</property>
|
|
14
|
+ <property name="hibernate.c3p0.max_size">20</property>
|
|
15
|
+ <property name="hibernate.c3p0.timeout">300</property>
|
|
16
|
+ <property name="hibernate.c3p0.max_statements">50</property>
|
|
17
|
+ <property name="hibernate.c3p0.idle_test_period">3000</property>
|
|
18
|
+
|
|
19
|
+ <property name="hibernate.hbm2ddl.auto">create</property>
|
|
20
|
+ <property name="hibernate.show_sql">true</property>
|
|
21
|
+ <mapping resource="kr/co/swh/lecture/opensource/hibernate/hbm/SWHAcademy.hbm.xml" />
|
|
22
|
+ </session-factory>
|
|
23
|
+</hibernate-configuration>
|