This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new f02e207ab8 Add change log entry
f02e207ab8 is described below
commit f02e207ab844733ff995fdc86bd5ee1f79a3e068
Author: Mark Thomas <[email protected]>
AuthorDate: Mon Aug 10 11:00:02 2026 +0100
Add change log entry
---
modules/jdbc-pool/doc/jdbc-pool.xml | 2 +-
webapps/docs/changelog.xml | 5 +++++
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/modules/jdbc-pool/doc/jdbc-pool.xml
b/modules/jdbc-pool/doc/jdbc-pool.xml
index 871c18ff5d..39b59b0bb3 100644
--- a/modules/jdbc-pool/doc/jdbc-pool.xml
+++ b/modules/jdbc-pool/doc/jdbc-pool.xml
@@ -275,7 +275,7 @@
<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, a reconnection is attempted using
the same object.
+ If the object fails to validate, a reconnection is attempted using
the same object.
If the reconnection also fails, the object is dropped from the pool
and an <code>SQLException</code> is thrown.
In order to have a more efficient validation, see
<code>validationInterval</code>.
Default value is <code>false</code>
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 27aea75843..ab27642d85 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -480,6 +480,11 @@
<subsection name="jdbc-pool">
<changelog>
<!-- Entries for backport and removal before 12.0.0-M1 below this line
-->
+ <fix>
+ <bug>70164</bug>: Correct the documentation for the
+ <code>testOnBorrow</code> attribute. Pull request <pr>1033</pr>
provided
+ by Kohei Tamura. (markt)
+ </fix>
</changelog>
</subsection>
<subsection name="Other">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]