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:10:41 UTC

svn commit: r1688105 - in /tomcat/tc8.0.x/trunk: modules/jdbc-pool/doc/jdbc-pool.xml webapps/docs/changelog.xml

Author: kfujino
Date: Mon Jun 29 08:10:41 2015
New Revision: 1688105

URL: http://svn.apache.org/r1688105
Log:
Add document of testOnConnect attribute in jdbc-pool doc.

Modified:
    tomcat/tc8.0.x/trunk/modules/jdbc-pool/doc/jdbc-pool.xml
    tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml

Modified: tomcat/tc8.0.x/trunk/modules/jdbc-pool/doc/jdbc-pool.xml
URL: http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/modules/jdbc-pool/doc/jdbc-pool.xml?rev=1688105&r1=1688104&r2=1688105&view=diff
==============================================================================
--- tomcat/tc8.0.x/trunk/modules/jdbc-pool/doc/jdbc-pool.xml (original)
+++ tomcat/tc8.0.x/trunk/modules/jdbc-pool/doc/jdbc-pool.xml Mon Jun 29 08:10:41 2015
@@ -283,6 +283,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/tc8.0.x/trunk/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml?rev=1688105&r1=1688104&r2=1688105&view=diff
==============================================================================
--- tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml Mon Jun 29 08:10:41 2015
@@ -163,6 +163,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