You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ps...@apache.org on 2015/08/03 00:50:00 UTC
svn commit: r1693835 -
/commons/proper/dbcp/trunk/src/site/xdoc/configuration.xml
Author: psteitz
Date: Sun Aug 2 22:50:00 2015
New Revision: 1693835
URL: http://svn.apache.org/r1693835
Log:
Added documentation for missing configuration settings. JIRA: DBCP-441.
Modified:
commons/proper/dbcp/trunk/src/site/xdoc/configuration.xml
Modified: commons/proper/dbcp/trunk/src/site/xdoc/configuration.xml
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/site/xdoc/configuration.xml?rev=1693835&r1=1693834&r2=1693835&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/site/xdoc/configuration.xml (original)
+++ commons/proper/dbcp/trunk/src/site/xdoc/configuration.xml Sun Aug 2 22:50:00 2015
@@ -125,6 +125,27 @@ testWhileIdle
values will not reflect the current state. In this case, caching should be
disabled by setting this attribute to false.</td>
</tr>
+<tr>
+ <td>defaultQueryTimeout</td>
+ <td>null</td>
+ <td>If non-null, the value of this <code>Integer</code> property determines
+ the query timeout that will be used for Statements created from
+ connections managed by the pool. <code>null</code> means that the driver
+ default will be used.</td>
+</tr>
+<tr>
+ <td>enableAutocommitOnReturn</td>
+ <td>true</td>
+ <td>If true, connections being returned to the pool will be checked and configured with
+ <code>Connection.setAutoCommit(true)</code> if the auto commit setting is
+ <code>false</code> when the connection is returned.</td>
+</tr>
+<tr>
+ <td>rollbackOnReturn</td>
+ <td>true</td>
+ <td>True means a connection will be rolled back when returned to the pool if
+ auto commit is not enabled and the connection is not read-only.</td>
+</tr>
</table>
@@ -198,6 +219,14 @@ isValid() method.
</td>
</tr>
<tr>
+ <td>validationQueryTimeout</td>
+ <td>no timeout</td>
+ <td>The timeout in seconds before connection validation queries fail. If set
+ to a positive value, this value is passed to the driver via the
+ <code>setQueryTimeout</code> method of the <code>Statement</code>
+ used to execute the validation query.</td>
+</tr>
+<tr>
<td>testOnCreate</td>
<td>false</td>
<td>
@@ -414,6 +443,16 @@ Be careful and only use when you need di
trace has to be generated.
</td>
</tr>
+<tr>
+ <td>abandonedUsageTracking</td>
+ <td>false</td>
+ <td>
+ If true, the connection pool records a stack trace every time a method is called on a
+ pooled connection and retains the most recent stack trace to aid debugging
+ of abandoned connections. There is significant overhead added by setting this
+ to true.
+ </td>
+</tr>
</table>
<p>
<img src="images/icon_info_sml.gif"/>