Skip to content

Commit

Permalink
0002518 Oracle bulk loader was not closing statements and results may
Browse files Browse the repository at this point in the history
lead to an excess of amount of cursors.
  • Loading branch information
Hicks, Josh committed Mar 8, 2016
1 parent 24ce65f commit ca28e12
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -298,6 +298,8 @@ protected void flush() {
errors = new int[0];
}

stmt.close();

if (errors.length > 0) {
// set the statement count so the failed row number get reported correctly
statistics.get(batch).set(DataWriterStatisticConstants.STATEMENTCOUNT,
Expand Down

0 comments on commit ca28e12

Please sign in to comment.