Skip to content

Commit

Permalink
HHH-7725 unclosed Statement
Browse files Browse the repository at this point in the history
  • Loading branch information
brmeyer committed Oct 31, 2012
1 parent 3847ebb commit 174e9b8
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ protected void exportTableDefinitions(
log.debugf( "Error attempting to export id-table [%s] : %s", idTableDefinition.getName(), e.getMessage() );
}
}

statement.close();
}
catch (SQLException e) {
log.error( "Unable to use JDBC Connection to create Statement", e );
Expand Down Expand Up @@ -198,6 +200,8 @@ public void release(JdbcServices jdbcServices, JdbcConnectionAccess connectionAc
log.debugf( "Error attempting to cleanup id-table : [%s]", e.getMessage() );
}
}

statement.close();
}
catch (SQLException e) {
log.error( "Unable to use JDBC Connection to create Statement", e );
Expand Down

0 comments on commit 174e9b8

Please sign in to comment.