Ensure that even if a close statement fails during connection close that we continue to try to close additional statements.

pull/22/head
Brett Wooldridge 11 years ago
parent e6dce5b73e
commit e021074764

@ -179,7 +179,14 @@ public abstract class ConnectionProxy implements IHikariConnectionProxy
final int length = openStatements.size();
for (int i = 0; i < length; i++)
{
openStatements.get(i).close();
try
{
openStatements.get(i).close();
}
catch (SQLException e)
{
checkException(e);
}
}
if (!getAutoCommit())

Loading…
Cancel
Save