You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Justin Cranford (JIRA)" <ji...@apache.org> on 2015/07/16 21:06:04 UTC
[jira] [Created] (DBCP-441) Update DBCP2 configuration web page to
add 3 missing properties from BasicDataSource API and
BasicDataSourceFactory config
Justin Cranford created DBCP-441:
------------------------------------
Summary: Update DBCP2 configuration web page to add 3 missing properties from BasicDataSource API and BasicDataSourceFactory config
Key: DBCP-441
URL: https://issues.apache.org/jira/browse/DBCP-441
Project: Commons Dbcp
Issue Type: Bug
Affects Versions: 2.1
Environment: http://commons.apache.org/proper/commons-dbcp/configuration.html
Reporter: Justin Cranford
Priority: Minor
This web page documents DBCP 2 configuration properties:
http://commons.apache.org/proper/commons-dbcp/configuration.html
I compared the listed properties to DBCP 2.1 classes BasicDataSource and BasicDataSourceFactory. There are 3 configuration properties supported by the code which are missing from the DBCP configuration web page. Please add these properties to the configuration documentation. Thank you.
1) jmxName - mentioned in DBCP-418, supported by both BasicDataSource and BasicDataSourceFactory, but not documented on the DBCP configuration web page
2) enableAutoCommitOnReturn - mentioned in DBCP-351, supported by both BasicDataSource and BasicDataSourceFactory, but not documented on the DBCP configuration web page
3) rollbackOnReturn - mentioned in DBCP-399 and DBCP-436, supported by both BasicDataSource and BasicDataSourceFactory, but not documented on the DBCP configuration web page
Note: I also noticed BasicDataSource API supports setAbandonedUsageTracking which passes a configuration option to Commons Pool 2. This option is only available in BasicDataSource API, not in BasicDataSourceFactory config, so I am not sure if it was intentionally left out of BasicDataSourceFactory and the DBCP configuration web page.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)