git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@717974
13f79535-47bb-0310-9956-
ffa450edef68
<delete file="${base.path}/file.tar"/>
<delete file="${base.path}/file.tar.gz"/>
</target>
+ <target name="f">
+ <echoproperties/>
+ </target>
</project>
<section name="Tomcat JDBC Connection Pool v1.0.2-beta">
<subsection name="pool">
<changelog>
+ <update><rev>717972</rev>Added an interceptor that will clean up non closed statements when a connection is returned to the pool. (<code>org.apache.tomcat.jdbc.pool.interceptor.StatementFinalizer</code>)</update>
<update><rev>713763</rev>Improve connection state handling</update>
<fix><bug></bug> <rev>713763</rev>Improve connection state handling</fix>
</changelog>
Statement st = ws.get();
if (st!=null) {
try {
- if (!st.isClosed()) {
- st.close();
- }
+ st.close();
} catch (Exception ignore) {
if (log.isDebugEnabled()) {
log.debug("Unable to closed statement upon connection close.",ignore);
}
}
}
-
}