Hibernate will be connecting to the database on behalf of your application, so it needs to know how to obtain connections. For this tutorial we will be using a standalone connection pool (as opposed to a javax.sql.DataSource ). Hibernate comes with support for two third-party open source JDBC connection pools: c3p0 and proxool .
<!-- JDBC connection pool (use the built-in) -->
<property name="connection.pool_size">1</property>
本文介绍Hibernate如何配置连接池以实现与数据库的有效交互。通过使用独立的连接池而非javax.sql.DataSource,文章详细阐述了两种开源JDBC连接池c3p0和proxool的使用方法。

3332

被折叠的 条评论
为什么被折叠?



