|
|
@ -196,7 +196,7 @@ public abstract class ProxyConnection implements Connection
|
|
|
|
final int size = openStatements.size();
|
|
|
|
final int size = openStatements.size();
|
|
|
|
if (size > 0) {
|
|
|
|
if (size > 0) {
|
|
|
|
for (int i = 0; i < size && delegate != ClosedConnection.CLOSED_CONNECTION; i++) {
|
|
|
|
for (int i = 0; i < size && delegate != ClosedConnection.CLOSED_CONNECTION; i++) {
|
|
|
|
try (Statement statement = openStatements.get(i)) {
|
|
|
|
try (Statement ignored = openStatements.get(i)) {
|
|
|
|
// automatic resource cleanup
|
|
|
|
// automatic resource cleanup
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch (SQLException e) {
|
|
|
|
catch (SQLException e) {
|
|
|
|