commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Cranford (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DBCP-441) Update DBCP2 configuration web page to add 3 missing properties from BasicDataSource API and BasicDataSourceFactory config
Date Thu, 16 Jul 2015 19:06:04 GMT
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)

Mime
View raw message