do transaction:
for each customer exclusive-lock:
update customer.
end.
end.
Consider that there is some problem occured while updating the 5th record. What will happen in this case?
Will updation for all the 5 records be rollbacked of just for 5th record?
I'm having doubt because for each ... end. will be acting as sub transaction here.
Kindly advise.
Thanks
for each customer exclusive-lock:
update customer.
end.
end.
Consider that there is some problem occured while updating the 5th record. What will happen in this case?
Will updation for all the 5 records be rollbacked of just for 5th record?
I'm having doubt because for each ... end. will be acting as sub transaction here.
Kindly advise.
Thanks