We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa968d8 commit 9861656Copy full SHA for 9861656
java/org/apache/tomcat/dbcp/dbcp2/managed/BasicManagedDataSource.java
@@ -108,7 +108,7 @@ protected synchronized ConnectionFactory createConnectionFactory() throws SQLExc
108
}
109
110
@Override
111
- protected DataSource createDataSourceInstance() throws SQLException {
+ protected synchronized DataSource createDataSourceInstance() throws SQLException {
112
final PoolingDataSource<PoolableConnection> pds = new ManagedDataSource<>(getConnectionPool(),
113
transactionRegistry);
114
pds.setAccessToUnderlyingConnectionAllowed(isAccessToUnderlyingConnectionAllowed());
0 commit comments