Java數據庫連接池,C3P0 0.9.5.2 發布

jopen 9年前發布 | 21K 次閱讀 C3P0

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

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!