File tree 2 files changed +8
-2
lines changed
src/main/resources/META-INF
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 95
95
<version >[2.2.220,2.999.9999]</version >
96
96
<scope >runtime</scope >
97
97
</dependency >
98
+ <dependency >
99
+ <groupId >org.hibernate</groupId >
100
+ <artifactId >hibernate-c3p0</artifactId >
101
+ <version >[5.6.10.Final,5.999.999.Final]</version >
102
+ <scope >runtime</scope >
103
+ </dependency >
98
104
</dependencies >
99
105
100
106
<build >
Original file line number Diff line number Diff line change 20
20
value=" drop-and-create" />
21
21
<property name =" hibernate.dialect" value =" org.hibernate.dialect.H2Dialect" />
22
22
<property name =" hibernate.show_sql" value =" true" />
23
- <!-- WARN: this uses hibernate internal connection pool, not suitable for production -- >
24
- <property name =" hibernate.connection.pool_size " value =" 3 " />
23
+ <property name = " hibernate.c3p0.maxPoolSize " value = " 3 " / >
24
+ <property name =" hibernate.c3p0.maxStatementsPerConnection " value =" 5 " />
25
25
</properties >
26
26
</persistence-unit >
27
27
</persistence >
You can’t perform that action at this time.
0 commit comments