This is an automated email from the ASF dual-hosted git repository.
rmaucher pushed a change to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
from bc4a1992db Fix IDE warnings
new 4f0a1b84df Fail when the jdbc-pool dataSourceJNDI lookup cannot be
resolved
new de4692e7ab Do not queue a wake-up placeholder into a closed JDBC
connection pool
new 2b162a533a Correct the PoolConfiguration contract for
isPoolSweeperEnabled()
new a6f8d28d45 Restore in the jdbc-pool tests the public constructors that
reflection requires
new 806fcaf293 Terminate the asynchronous borrows of a closing JDBC
connection pool
new 4320d7bad1 Claim the async pooled connection once, fixing a two-owner
race
new 8d907c7957 Keep only a published JMX name as the DataSource
unregistration handle
new 360b978236 Fail the JDBC resource creation on an unusable boolean
attribute
new 19c5fdf815 Take the pool reference with a single read on the JDBC
borrow paths
new 9c13ce5b52 Fail a timed-out async poll of the fair JDBC pool queue
terminally
new f153ea6b1c Answer the Object methods on the query report statement
proxies
new 95d8fb5da8 Terminate a pending transaction by rollback when validating
new d8d0e59f1b Publish the slow queries of the JMX report as a snapshot
new de779a848f Send the slow query JMX notifications from a serializable
source
new 37ba6063e5 Remove a cached statement of the statement cache by identity
new 7d9c509bbb Park a statement of the statement cache in a single step
new 6ede76a27a Always use the statement facade; deprecate
useStatementFacade
new 409f8b9c18 Document how a pooled statement reaches the driver's own
class
new 16573af8a2 Close the XA handle when its logical connection cannot be
obtained
new 524a4eec54 Seal every result set a pooled statement hands back
new 2703a653d6 Seal the cursors a pooled result set hands out as a column
value
new 8b52645d10 Import order
The 22 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
modules/jdbc-pool/doc/jdbc-pool.xml | 43 +-
.../apache/tomcat/jdbc/pool/ConnectionPool.java | 221 ++++-
.../org/apache/tomcat/jdbc/pool/DataSource.java | 10 +-
.../apache/tomcat/jdbc/pool/DataSourceFactory.java | 180 +++-
.../apache/tomcat/jdbc/pool/DataSourceProxy.java | 64 +-
.../apache/tomcat/jdbc/pool/FairBlockingQueue.java | 202 ++++-
.../apache/tomcat/jdbc/pool/PoolConfiguration.java | 64 +-
.../apache/tomcat/jdbc/pool/PoolProperties.java | 19 +-
.../apache/tomcat/jdbc/pool/PooledConnection.java | 98 ++-
.../apache/tomcat/jdbc/pool/StatementFacade.java | 74 +-
.../jdbc/pool/interceptor/AbstractQueryReport.java | 33 +
.../jdbc/pool/interceptor/ResetAbandonedTimer.java | 10 +-
.../jdbc/pool/interceptor/SlowQueryReportJmx.java | 61 +-
.../jdbc/pool/interceptor/StatementCache.java | 53 +-
.../jdbc/pool/interceptor/StatementFinalizer.java | 12 +
.../tomcat/jdbc/pool/jmx/ConnectionPool.java | 12 +
.../apache/tomcat/jdbc/pool/mbeans-descriptors.xml | 2 +-
.../org/apache/tomcat/jdbc/JdbcPoolBaseTest.java | 17 +
.../naming/TestDataSourceFactoryJndiLookup.java | 332 ++++++++
.../tomcat/jdbc/naming/TestNamingFactory.java | 147 +++-
.../apache/tomcat/jdbc/pool/TestAsyncBorrow.java | 170 +++-
.../jdbc/pool/TestAsyncBorrowCancelRace.java | 462 +++++++++++
.../tomcat/jdbc/pool/TestCloseVsWaiters.java | 339 ++++++++
.../jdbc/pool/TestCursorOutParameterSealing.java | 908 +++++++++++++++++++++
.../tomcat/jdbc/pool/TestFairBlockingQueue.java | 209 ++++-
.../tomcat/jdbc/pool/TestPoolProperties.java | 16 +
.../jdbc/pool/TestStatementConnectionHandle.java | 16 +-
.../jdbc/pool/TestStatementFacadeAlwaysUsed.java | 186 +++++
.../jdbc/pool/TestStatementWrapperContract.java | 301 +++++++
.../pool/TestTerminateTransactionOnReturn.java | 52 ++
.../apache/tomcat/jdbc/pool/TestValidation.java | 64 +-
.../tomcat/jdbc/pool/TestXaConnectionLeak.java | 533 ++++++++++++
.../interceptor/TestInterceptorResetOrder.java | 8 +-
.../TestPendingTransactionAcrossBorrowers.java | 133 +++
.../pool/interceptor/TestQueryReportIdentity.java | 323 ++++++++
.../TestResetAbandonedTimerStreaming.java | 68 +-
.../interceptor/TestSlowQueryJmxNotifications.java | 192 +++++
.../TestSlowQueryJmxSlowQueriesCDRace.java | 205 +++++
.../interceptor/TestStatementCacheRacingPark.java | 254 ++++++
.../TestStatementCacheRecycleFailure.java | 237 ++++++
.../pool/interceptor/TestStatementCacheReuse.java | 21 +-
.../TestStatementDecoratorIdentity.java | 334 +++++---
.../pool/interceptor/TestStatementFinalizer.java | 33 +-
.../tomcat/jdbc/pool/jmx/TestJmxRegistration.java | 64 +-
webapps/docs/changelog.xml | 67 ++
45 files changed, 6446 insertions(+), 403 deletions(-)
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/naming/TestDataSourceFactoryJndiLookup.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestAsyncBorrowCancelRace.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestCloseVsWaiters.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestCursorOutParameterSealing.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestStatementFacadeAlwaysUsed.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestStatementWrapperContract.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestXaConnectionLeak.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestQueryReportIdentity.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestSlowQueryJmxSlowQueriesCDRace.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestStatementCacheRacingPark.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/interceptor/TestStatementCacheRecycleFailure.java
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]