You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by kf...@apache.org on 2015/06/29 10:11:44 UTC
svn commit: r1688106 - in /tomcat/tc7.0.x/trunk:
modules/jdbc-pool/doc/jdbc-pool.xml webapps/docs/changelog.xml
Author: kfujino
Date: Mon Jun 29 08:11:43 2015
New Revision: 1688106
URL: http://svn.apache.org/r1688106
Log:
Add document of testOnConnect attribute in jdbc-pool doc.
Modified:
tomcat/tc7.0.x/trunk/modules/jdbc-pool/doc/jdbc-pool.xml
tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml
Modified: tomcat/tc7.0.x/trunk/modules/jdbc-pool/doc/jdbc-pool.xml
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/modules/jdbc-pool/doc/jdbc-pool.xml?rev=1688106&r1=1688105&r2=1688106&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/modules/jdbc-pool/doc/jdbc-pool.xml (original)
+++ tomcat/tc7.0.x/trunk/modules/jdbc-pool/doc/jdbc-pool.xml Mon Jun 29 08:11:43 2015
@@ -264,6 +264,15 @@
</p>
</attribute>
+ <attribute name="testOnConnect" required="false">
+ <p>(boolean) The indication of whether objects will be validated when a connection is first created.
+ If an object fails to validate, it will be throw <code>SQLException</code>.
+ NOTE - for a true value to have any effect, the <code>validationQuery</code> or <code>initSQL</code>
+ parameter must be set to a non-null string.
+ Default value is <code>false</code>
+ </p>
+ </attribute>
+
<attribute name="testOnReturn" required="false">
<p>(boolean) The indication of whether objects will be validated before being returned to the pool.
NOTE - for a true value to have any effect, the <code>validationQuery</code> parameter must be set to a non-null string.
Modified: tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?rev=1688106&r1=1688105&r2=1688106&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Mon Jun 29 08:11:43 2015
@@ -182,6 +182,10 @@
<bug>57971</bug>: Correct the documentation for the cluster
configuration setting <code>recoverySleepTime</code>. (markt)
</fix>
+ <add>
+ <bug>57758</bug>: Add document of <code>testOnConnect</code> attribute
+ in jdbc-pool doc. (kfujino)
+ </add>
</changelog>
</subsection>
<subsection name="Tribes">
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org