Skip to content

Commit

Permalink
Undo bulkcopy changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffery-Wasty committed Apr 16, 2024
1 parent 1c8ea9e commit cb0ddf2
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -693,14 +693,6 @@ final boolean doExecute() throws SQLServerException {
}
}

if (copyOptions.isKeepIdentity()) {
//SQLServerBulkCSVFileRecord bulkRecord = new SQLServerBulkCSVFileRecord("",StandardCharsets.UTF_8.name(), "", false);
copyOptions.setKeepIdentity(false);
setBulkCopyOptions(copyOptions);
//ResultSet rs = statement.executeQuery("SET IDENTITY_INSERT dbo.TEST_IDENTITY_TABLE OFF;");
writeToServer();
}

// It is not a timeout exception. Re-throw.
throw topLevelException;
}
Expand Down

0 comments on commit cb0ddf2

Please sign in to comment.