You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d1003ee
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: api/src/org/labkey/api/data/DbScope.java
+41-16Lines changed: 41 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -1473,29 +1473,38 @@ public ConnectionWrapper getPooledConnection(ConnectionType type, @Nullable Logg
1473
1473
thrownewConfigurationException("Can't create a database connection for data source " + getDbScopeLoader().getDsName(), e);
1474
1474
}
1475
1475
1476
-
if (!conn.getAutoCommit())
1477
-
thrownewConfigurationException("A database connection is in an unexpected state: auto-commit is false. This indicates a configuration problem with the datasource definition or the database connection pool.");
1476
+
try
1477
+
{
1478
+
if (!conn.getAutoCommit())
1479
+
thrownewConfigurationException("A database connection is in an unexpected state: auto-commit is false. This indicates a configuration problem with the datasource definition or the database connection pool.");
1478
1480
1479
-
//
1480
-
// Handle one time per-connection setup
1481
-
// relies on pool implementation reusing same connection/wrapper instances
1482
-
//
1481
+
//
1482
+
// Handle one time per-connection setup
1483
+
// relies on pool implementation reusing same connection/wrapper instances
0 commit comments