C3P0 在4月23日时发布了 0.9.5 的第二个预览版本,下载地址:
http://sourceforge.net/projects/c3p0/files/c3p0-bin/c3p0-0.9.5-pre2/
改进记录包括:
c3p0-0.9.5-pre2
-- Modified unwrap / isWrapperFor methods in proxies to be more permissive, to accept class
objects for superinterfaces of the wrapped interface as well as of implementation
classes.
-- Added support for SLF4J / logback logging, defined short aliases for adapters to
the various logging libraries, updated documentation with new logging features
-- Added and documented HOCON / typesafe-config libary support, available if (and only if)
the typesafe-config library is included with the application.
-- Refactored mchange-commons-java to eliminate very rare potential deadlocks under simultaneous
ClassLoading of file in cfg and log packages, and defined a facade into the cfg library use of
which should eliminate the possibility of such deadlocks if it is used assiduously.
-- actually documented 'com.mchange.v2.log.jdk14logging.suppressStackWalk'. i said i had earlier
but apparently not
-- set 'com.mchange.v2.log.jdk14logging.suppressStackWalk' to true by default in mchange-commons-java
c3p0-0.9.5-pre1
-- Included 'com.mchange.v2.log.jdk14logging.suppressStackWalk' in c3p0 docs.
-- In mchange-commons: Added a config property for jdk14 logging users:
'com.mchange.v2.log.jdk14logging.suppressStackWalk' allows clients to speed up logging
by suppressing analyzing the stack trace for the caller. (Only the name of the logger will
be given.)
-- Modified DataSource to include an (unsupported) getParentLogger() method for JDK7 builds
-- Handle JDBC4 Connection.isValid properly
-- Lots of updates to get c3p0 to proxy and compile JDBC4
-- Removed some jdk14 support stuff from build.properti
此外,从3月20日发布的 0.9.2.1 版本开始 C3P0 的许可证改为 LGPL 和 EPL 双协议。
C3P0是一个开放源代码的JDBC连接池,Hibernate的发行包中默认使用此连接池。
详细的文档在C3P0的下载包中。
来自:开源中国社区