Author: kfujino
Date: Mon Jun 29 09:49:08 2015
New Revision: 1688170

URL: http://svn.apache.org/r1688170
Log:
Add description of validatorClassName attribute to testXXXX attributes in 
jdbc-pool docs.

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=1688170&r1=1688169&r2=1688170&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 
09:49:08 2015
@@ -277,7 +277,8 @@
     <attribute name="testOnBorrow" required="false">
       <p>(boolean) The indication of whether objects will be validated before 
being borrowed from the pool.
          If the object fails to validate, it will be dropped from the pool, 
and we will attempt to borrow another.
-         NOTE - for a true value to have any effect, the 
<code>validationQuery</code> parameter must be set to a non-null string.
+         NOTE - for a true value to have any effect, the 
<code>validationQuery</code>
+         or <code>validatorClassName</code> parameter must be set to a 
non-null string.
          In order to have a more efficient validation, see 
<code>validationInterval</code>.
          Default value is <code>false</code>
       </p>
@@ -286,15 +287,16 @@
     <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.
+         NOTE - for a true value to have any effect, the 
<code>validationQuery</code>, <code>initSQL</code>
+         or <code>validatorClassName</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.
+         NOTE - for a true value to have any effect, the 
<code>validationQuery</code>
+         or <code>validatorClassName</code> parameter must be set to a 
non-null string.
          The default value is <code>false</code>.
       </p>
     </attribute>
@@ -302,7 +304,8 @@
     <attribute name="testWhileIdle" required="false">
       <p>(boolean) The indication of whether objects will be validated by the 
idle object evictor (if any).
          If an object fails to validate, it will be dropped from the pool.
-         NOTE - for a true value to have any effect, the 
<code>validationQuery</code> parameter must be set to a non-null string.
+         NOTE - for a true value to have any effect, the 
<code>validationQuery</code>
+         or <code>validatorClassName</code> parameter must be set to a 
non-null string.
          The default value is <code>false</code> and this property has to be 
set in order for the
          pool cleaner/test thread is to run (also see 
<code>timeBetweenEvictionRunsMillis</code>)
       </p>

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=1688170&r1=1688169&r2=1688170&view=diff
==============================================================================
--- tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml Mon Jun 29 09:49:08 2015
@@ -167,6 +167,10 @@
         <bug>57758</bug>: Add document of <code>testOnConnect</code> attribute
         in jdbc-pool doc. (kfujino)
       </add>
+      <add>
+        Add description of <code>validatorClassName</code> attribute to 
testXXXX
+        attributes in jdbc-pool docs. (kfujino)
+      </add>
     </changelog>
   </subsection>
   <subsection name="Tribes">



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

Reply via email to