Hibernate4.3.8.Final在配置c3p0时,报错
Hibernate‘s own connection pooling algorithm is, however, quite rudimentary. It is intended to help you get started and is not intended for use in a production system, or even for performance testing. You should use a third party pool for best performance and stability. Just replace thehibernate.connection.pool_size property with connection pool specific settings. This will turn off Hibernate‘s internal pool. For example, you might like to use c3p0.
C3P0 is an open source JDBC connection pool distributed along with Hibernate in the lib
directory. Hibernate will use its org.hibernate.connection.C3P0ConnectionProvider
for connection pooling if you sethibernate.c3p0.* properties. If you would like to use Proxool, refer to the packagedhibernate.properties
and the Hibernate web site for more information.
意思是,只需要将 hibernate.connection.pool_size替换为
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。