File tree Expand file tree Collapse file tree
src/main/resources/META-INF Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9595 <version >[2.2.220,2.999.9999]</version >
9696 <scope >runtime</scope >
9797 </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 >
98104 </dependencies >
99105
100106 <build >
Original file line number Diff line number Diff line change 2020 value=" drop-and-create" />
2121 <property name =" hibernate.dialect" value =" org.hibernate.dialect.H2Dialect" />
2222 <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 " />
2525 </properties >
2626 </persistence-unit >
2727</persistence >
You can’t perform that action at this time.
0 commit comments