Apache Commons DBCP 2.3.0 釋出

類別: IT

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. 


  • Source code(zip)

  • Source code(tar.gz)

Apache Commons DBCP 2.3.0 釋出原文請看這裡