Java 连接池 Apache Commons DBCP 2.4.0 发布

栏目: 软件资讯 · 发布时间: 7年前

内容简介:Apache Commons DBCP 2.4.0 已发布,DBCP(Database Connection Pool)是一个依赖 Jakarta commons-pool 对象池机制的数据库连接池,Tomcat 的数据源使用的就是 DBCP。 下载地址:http://commons.apache.org/prope...

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

下载地址:http://commons.apache.org/proper/commons-dbcp/download_dbcp.cgi

本次更新包含 bug 修复和一些变更:

Fixed Bugs:
o DBCP-484:Connection leak during XATransaction in high load.
o DBCP-496:Add support for pooling CallableStatements to the org.apache.commons.dbcp2.cpdsadapter package.

Changes:
o DBCP-492:Drop Ant build. 
o DBCP-491:Ensure DBCP ConnectionListener can deal with transaction managers which invoke rollback in a separate thread.
o DBCP-494:org.apache.commons.dbcp2.PStmtKey should make copies of given arrays in constructors.
o DBCP-495:Remove duplicate code in org.apache.commons.dbcp2.cpdsadapter.PStmtKeyCPDS.
o DBCP-497:Deprecate use of PStmtKeyCPDS in favor of PStmtKey.
o DBCP-498:org.apache.commons.dbcp2.DataSourceConnectionFactory should use a char[] instead of a String to store passwords.
o DBCP-499:org.apache.commons.dbcp2.managed.DataSourceXAConnectionFactory should use a char[] instead of a String to store passwords.
o DBCP-500:org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS should use a char[] instead of a String to store passwords.
o DBCP-501:org.apache.commons.dbcp2.datasources.CPDSConnectionFactory should use a char[] instead of a String to store passwords. 
o DBCP-502:org.apache.commons.dbcp2.datasources internals should use a char[] instead of a String to store passwords.
o DBCP-503:org.apache.commons.dbcp2.datasources.InstanceKeyDataSourceFactory.closeAll() does not close all.

【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

The CS Detective: An Algorithmic Tale of Crime, Conspiracy, and

The CS Detective: An Algorithmic Tale of Crime, Conspiracy, and

Jeremy Kubica / No Starch Press / 2016-8-15 / USD 13.74

Meet Frank Runtime. Disgraced ex-detective. Hard-boiled private eye. Search expert.When a robbery hits police headquarters, it's up to Frank Runtime and his extensive search skills to catch the culpri......一起来看看 《The CS Detective: An Algorithmic Tale of Crime, Conspiracy, and 》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器