[
https://issues.apache.org/jira/browse/DBCP-598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17848600#comment-17848600
]
Max Philipp Wriedt commented on DBCP-598:
-----------------------------------------
Hi [~ggregory],
about the default for "testOnBorrow". I was using "SharedPoolDataSource". I was
confused by the Documentation only showing for a BasicDataSource.
In SharedPoolDataSource the "testOnBorrow" default of "Commons-Pool" is used,
which is "false".
Will provide a PR when i got more time and more understanding of the different
kinds of DataSources :)
> Configuration Description on Homepage is inaccurate
> ---------------------------------------------------
>
> Key: DBCP-598
> URL: https://issues.apache.org/jira/browse/DBCP-598
> Project: Commons DBCP
> Issue Type: Improvement
> Affects Versions: 2.9.0, 2.12.0
> Reporter: Max Philipp Wriedt
> Priority: Major
>
> [https://commons.apache.org/proper/commons-dbcp/configuration.html]
> The description of some settings doesn't correspond to underlying code.
>
> e.g. Times are Durations not Millis.
> Also "testOnBorrow" seems to be false in default?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)