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 2017/03/23 09:17:22 UTC
svn commit: r1788203 - /tomcat/trunk/modules/jdbc-pool/doc/jdbc-pool.xml
Author: kfujino
Date: Thu Mar 23 09:17:22 2017
New Revision: 1788203
URL: http://svn.apache.org/viewvc?rev=1788203&view=rev
Log:
Follow-up for r1788183.
Add docs of useStatementFacade attribute.
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=1788203&r1=1788202&r2=1788203&view=diff
==============================================================================
--- tomcat/trunk/modules/jdbc-pool/doc/jdbc-pool.xml (original)
+++ tomcat/trunk/modules/jdbc-pool/doc/jdbc-pool.xml Thu Mar 23 09:17:22 2017
@@ -551,6 +551,13 @@
The default value is <code>false</code>.
</p>
</attribute>
+ <attribute name="useStatementFacade" required="false">
+ <p>(boolean) Set this to true if you wish to wrap statements in order to
+ enable <code>equals()</code> and <code>hashCode()</code> methods to be
+ called on the closed statements if any statement proxy is set.
+ Default value is <code>true</code>.
+ </p>
+ </attribute>
</attributes>
</subsection>
@@ -664,6 +671,8 @@
<subsection name="org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor">
<p>See <bug>48392</bug>. Interceptor to wrap statements and result sets in order to prevent access to the actual connection
using the methods <code>ResultSet.getStatement().getConnection()</code> and <code>Statement.getConnection()</code>
+ Note: This interceptor is enabled by default, so no explicit
+ configuration is required. (See <code>useStatementProxy</code>)
</p>
<attributes>
</attributes>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org