Apache Commons DBCP 2.3.0 发布

  

Apache Commons DBCP 2.3.0 已发布。DBCP (Database Connection Pool)是一个依赖Jakarta commons-pool对象池机制的数据库连接池,Tomcat的数据源使用的就是DBCP。

更新内容如下:

  • AbandonedTrace.getTrace() contains race condition. Fixes DBCP-476.

  • FixAvoid javax.management.InstanceNotFoundException on shutdown when a bean is not registered. Fixes DBCP-482.

  • Make constant public: org.apache.commons.dbcp2.PoolingDriver.URL_PREFIX. Fixes DBCP-483.

  • DriverAdapterCPDS.setUser(), setPassword(), and getPooledConnection() with null arguments throw NullPointerExceptions when connection properties are set. Fixes DBCP-486. 

  • Add API org.apache.commons.dbcp2.datasources.PerUserPoolDataSource.clear(). Fixes DBCP-487.

  • NPE for org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS.setConnectionProperties(null). Fixes DBCP-488.

  • The method org.apache.commons.dbcp2.PoolingDriver.getConnectionPool(String) does not tell you which pool name is not registered when it throws an exception. Fixes DBCP-490. 

下载地址:

扫描二维码关注公众号,回复: 788504 查看本文章

猜你喜欢

转载自www.oschina.net/news/96045/apache-commons-dbcp-2-3-0-released