Skip to content

Commit

Permalink
LPD-22494 As we can't validate the data here because performance, exe…
Browse files Browse the repository at this point in the history
…cutes the insert in each iteration to catch the exception if occurs. In that way we prevent from fail the Upgrade Process due some inconsistent data.
  • Loading branch information
lfbesada authored and brianchandotcom committed Apr 9, 2024
1 parent 45ca438 commit 168bb6f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ protected void doUpgrade() throws Exception {
preparedStatement.setLong(9, classNameId);
preparedStatement.setLong(10, plid);

preparedStatement.addBatch();
preparedStatement.executeUpdate();
}
}
catch (Exception exception) {
Expand Down

0 comments on commit 168bb6f

Please sign in to comment.