HHH-7725 unclosed Statement
This commit is contained in:
parent
3847ebb478
commit
174e9b8ab2
|
@ -160,6 +160,8 @@ public class PersistentTableBulkIdStrategy implements MultiTableBulkIdStrategy {
|
|||
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 );
|
||||
|
@ -198,6 +200,8 @@ public class PersistentTableBulkIdStrategy implements MultiTableBulkIdStrategy {
|
|||
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 );
|
||||
|
|
Loading…
Reference in New Issue