Rev 21 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 21 | Rev 31 | ||
---|---|---|---|
Line 14... | Line 14... | ||
14 | <property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property> |
14 | <property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property> |
15 | 15 | ||
16 | <!-- Print all generated SQL to the console -->
|
16 | <!-- Print all generated SQL to the console -->
|
17 | <property name="show_sql">true</property> |
17 | <property name="show_sql">true</property> |
18 | <property name="format_sql">true</property> |
18 | <property name="format_sql">true</property> |
19 | <!--
|
- | |
20 | <property name="connection.provider_class">
|
- | |
21 | org.hibernate.connection.C3P0ConnectionProvider
|
19 | <!-- <property name="connection.provider_class"> org.hibernate.connection.C3P0ConnectionProvider
|
22 | </property>-->
|
20 | </property> -->
|
23 | <!-- C3P0 connection pool -->
|
21 | <!-- C3P0 connection pool -->
|
24 | <property name="hibernate.c3p0.min_size">5</property> |
22 | <property name="hibernate.c3p0.min_size">5</property> |
25 | <property name="hibernate.c3p0.max_size">20</property> |
23 | <property name="hibernate.c3p0.max_size">20</property> |
26 | <property name="hibernate.c3p0.timeout">300</property> |
24 | <property name="hibernate.c3p0.timeout">300</property> |