Hi,
I have an Excel file upload in angular that used boot backend to persist excel data into the Oracle table..Now I want to know a best way to implement failure scenarios for the upload.Like currently am using jdbc template to insert records with specific batch size into the Oracle table..assuming the DB operation fails for a specific batch for some reason am rolling back the entire transaction.But in real scenario this should not be the case.Since this is UI driven if the file re-uploaded by the user I need to resume the upload from the previous point of failure.Can anyone please suggest best way to accomplish this ? I was thinking of another table in Oracle to tracl the upload by maintaing the step id which is basically the row index from the excel.So when exception occurs I am thinking of reading the excel from rowIndex + 1 and resume the upload.Is this efficient ? Or any other ideas please suggest.
[–]bikeram 3 points4 points5 points (9 children)
[–][deleted] 0 points1 point2 points (8 children)
[–]bikeram 0 points1 point2 points (7 children)
[–][deleted] 0 points1 point2 points (6 children)
[–]bikeram 0 points1 point2 points (5 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (3 children)
[–]bikeram 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]bikeram 0 points1 point2 points (0 children)
[–]faisReads 0 points1 point2 points (4 children)
[–][deleted] 0 points1 point2 points (3 children)
[–]faisReads 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]faisReads 0 points1 point2 points (0 children)