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:09:14 UTC

svn commit: r1688103 - /tomcat/trunk/modules/jdbc-pool/doc/jdbc-pool.xml

Author: kfujino
Date: Mon Jun 29 08:09:14 2015
New Revision: 1688103

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

Modified:
    tomcat/trunk/modules/jdbc-pool/doc/jdbc-pool.xml

Modified: tomcat/trunk/modules/jdbc-pool/doc/jdbc-pool.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/doc/jdbc-pool.xml?rev=1688103&r1=1688102&r2=1688103&view=diff
==============================================================================
--- tomcat/trunk/modules/jdbc-pool/doc/jdbc-pool.xml (original)
+++ tomcat/trunk/modules/jdbc-pool/doc/jdbc-pool.xml Mon Jun 29 08:09:14 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.



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org