This is an automated email from the ASF dual-hosted git repository.
rmaucher pushed a change to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
from 9fe10c23f0 Rename for consistency
new 35c9006052 Do not fail getPoolName() before the pool exists
new f0a7775363 Registering a DataSource before its pool exists no longer
fails
new b670c75bb3 Unregister the pool MBean when the DataSource is closed
new 44dff88f76 Mask the password in DataSourceProxy.getDbProperties()
new ed2570cfff Round-trip connection properties through DataSourceProxy
new 70b30b9616 Keep equals on the pooled connection a contract-respecting
false
new de7aef59e2 Make async polls of the fair pool queue cancellable
new 07405eacd5 Isolate interceptor disconnected() failures from the
physical close
new 4a630aa87f Isolate interceptor reset() failures from pool shutdown
new 99c34208b4 Recognise JDBC 4.2 large executions in jdbc-pool query
reporting
new 5204962f0c Never let query reporting throw at the application
new bc305edb64 Stop the jdbc-pool tests from waiting on the clock
new 54592653cf Answer equals and hashCode on a facade-less pooled
connection
new 12d14a44a4 Round-trip connection properties through the JNDI factory
new 6a7efd4604 Report malformed interceptor properties by name in jdbc-pool
new 0aba5167ec Preserve non-ASCII characters in jdbc-pool connection
properties
new f6bcebf371 Close the PooledConnection handle obtained from a
ConnectionPoolDataSource
new b5548d73b5 Release the per-connection lock by lock state, not by
configuration
new e182eb1b02 Always use the disposable connection facade; deprecate
useDisposableConnectionFacade
new 5b227c9c03 Report a disconnected pooled connection instead of an NPE
through its MBean
new 069d24f848 Report the pooled connection from a statement the pool
proxied
new 25ea6feb18 Retire statement handles when the pooled connection goes
back
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 | 16 +-
.../apache/tomcat/jdbc/pool/ConnectionPool.java | 83 ++++--
.../org/apache/tomcat/jdbc/pool/DataSource.java | 46 ++-
.../apache/tomcat/jdbc/pool/DataSourceFactory.java | 29 +-
.../apache/tomcat/jdbc/pool/DataSourceProxy.java | 46 ++-
.../jdbc/pool/DisposableConnectionFacade.java | 10 +-
.../apache/tomcat/jdbc/pool/FairBlockingQueue.java | 74 ++++-
.../apache/tomcat/jdbc/pool/JdbcInterceptor.java | 5 +
.../apache/tomcat/jdbc/pool/PoolConfiguration.java | 39 ++-
.../apache/tomcat/jdbc/pool/PoolProperties.java | 48 ++-
.../apache/tomcat/jdbc/pool/PooledConnection.java | 170 +++++++++--
.../apache/tomcat/jdbc/pool/ProxyConnection.java | 21 +-
.../apache/tomcat/jdbc/pool/StatementFacade.java | 68 ++++-
.../AbstractCreateStatementInterceptor.java | 12 +-
.../jdbc/pool/interceptor/AbstractQueryReport.java | 91 +++---
.../tomcat/jdbc/pool/jmx/ConnectionPool.java | 12 +
.../apache/tomcat/jdbc/pool/mbeans-descriptors.xml | 2 +-
.../tomcat/jdbc/pool/TestCloseDuringBorrow.java | 55 ++--
.../tomcat/jdbc/pool/TestCloseVsPoolCreation.java | 2 +-
.../jdbc/pool/TestConnectionAcquireRelease.java | 8 +-
.../pool/TestConnectionPoolDataSourceLeak.java | 324 +++++++++++++++++++++
.../tomcat/jdbc/pool/TestFacadeAlwaysUsed.java | 163 +++++++++++
.../tomcat/jdbc/pool/TestFairBlockingQueue.java | 108 ++++++-
.../tomcat/jdbc/pool/TestInterruptedWaiter.java | 2 +-
.../pool/TestJdbcInterceptorConfigParsing.java | 52 +++-
.../pool/TestMBeanDelegationWhenDisconnected.java | 118 ++++++++
.../apache/tomcat/jdbc/pool/TestPoolEviction.java | 6 +-
.../tomcat/jdbc/pool/TestPoolProperties.java | 103 +++++++
.../jdbc/pool/TestPooledConnectionLockRelease.java | 126 ++++++++
.../apache/tomcat/jdbc/pool/TestProxyContract.java | 36 ++-
.../tomcat/jdbc/pool/TestReleaseWaiters.java | 18 +-
.../jdbc/pool/TestStatementConnectionHandle.java | 214 ++++++++++++++
.../jdbc/pool/TestStatementHandleLifetime.java | 189 ++++++++++++
.../pool/TestThrowingDisconnectedInterceptor.java | 111 +++++++
.../jdbc/pool/TestThrowingResetInterceptor.java | 111 +++++++
.../jdbc/pool/TestUnlockedMaintenanceSweep.java | 15 +-
.../pool/interceptor/TestInterceptorSemantics.java | 226 +++++++++++++-
.../tomcat/jdbc/pool/jmx/TestJmxMonitor.java | 95 ++++++
webapps/docs/changelog.xml | 38 +++
39 files changed, 2688 insertions(+), 204 deletions(-)
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestConnectionPoolDataSourceLeak.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestFacadeAlwaysUsed.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestMBeanDelegationWhenDisconnected.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestPooledConnectionLockRelease.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestStatementConnectionHandle.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestStatementHandleLifetime.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestThrowingDisconnectedInterceptor.java
create mode 100644
modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/pool/TestThrowingResetInterceptor.java
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]