Java数据库连接池,C3P0 0.9.5.2 发布

jopen 8年前

C3P0: 一个开源的JDBC连接池,它实现了数据源和JNDI绑定,支持JDBC3规范和JDBC2的标准扩展。目前使用它的开源项目有Hibernate,Spring等。

默认情况下(即没有配置连接池的情况下),Hibernate会采用内建的连接池。但这个连接池性能不佳,因此官方也只是建议仅在开发环境下使用。Hibernate支持第三方的连接池,官方推荐的连接池是C3P0,Proxool。

C3P0 0.9.5.2 发布,此版本改进内容如下:

 -- Fix a bug in MLog bridge to slf4j logging, in which loggability of levels of wrapped loggers
    was misreported, leading to useless allocation of log Strings below the logging threshold. Grr.
    [change is in mchange-commons-java 0.2.11]. Many thanks to Lewis Wong on Stack Exchange for calling
    attention to this issue.
-- Embed last acquistion failure as nested Exception in CannotAcquireResourceException. Thanks to
    nigam on github for this addition.

下载:https://github.com/swaldman/c3p0/archive/c3p0-0.9.5.2.zip