You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Gary Gregory <gg...@apache.org> on 2018/07/16 21:57:58 UTC

[ANNOUCEMENT] Apache Commons DBCP Version 2.5.0

The Apache Commons DBCP team is pleased to announce the release of Apache
Apache Commons DBCP 2.5.0-SNAPSHOT.

Apache Commons DBCP software implements Database Connection Pooling.

This is a minor release, including bug fixes and enhancements and requires
Java 8 to support JDBC 4.2.

Changes in this version include:

New features:
o DBCP-506:  Support JDBC 4.2. Thanks to Gary Gregory.
o DBCP-479:  Support default schema in configuration. Thanks to Guillaume
Husta, Gary Gregory.

Fixed Bugs:
o DBCP-508:  Prepared statement keys should take a Connection's schema into
account. Thanks to Gary Gregory.
o DBCP-512:  Avoid exceptions when closing a connection in mutli-threaded
use case. Thanks to Gary Gregory.

Changes:
o DBCP-505:  Update Java requirement from version 7 to 8. Thanks to Gary
Gregory.
o DBCP-427:  Examines 'SQLException's thrown by underlying connections or
statements for fatal (disconnection) errors. Thanks to Vladimir Konkov,
Phil Steitz, Gary Gregory.
o DBCP-507:  Change default for fail-fast connections from false to true.
Thanks to Vladimir Konkov, Phil Steitz, Gary Gregory.
o DBCP-504:  Increase test coverage. Thanks to Bruno P. Kinoshita.
o DBCP-510:  Update Apache Commons Pool from 2.5.0 to 2.6.0. Thanks to Gary
Gregory.

Note that Clirr incorrectly reports one binary incompatible change because
it is not aware of Java 8 and default methods:
[ERROR] 7012: org.apache.commons.dbcp2.BasicDataSourceMXBean: Method
'public java.lang.String getDefaultSchema()' has been added to an interface

For complete information on Apache Commons DBCP, including instructions on
how to submit bug reports,
patches, or suggestions for improvement, see the Apache Apache Commons DBCP
website:

http://commons.apache.org/dbcp/

Download from
http://commons.apache.org/proper/commons-dbcp/download_dbcp.cgi

Gary Gregory