Hi,
I have written one query as below,
what will happen when another developer written same query and updates value for tcmcs142.exno with B and do commit before my query commits the record?
How delayed lock work in this case & How Retry will happen in this scenario?
I have written one query as below,
what will happen when another developer written same query and updates value for tcmcs142.exno with B and do commit before my query commits the record?
How delayed lock work in this case & How Retry will happen in this scenario?
Quote:
db.retry.point() select tcmcs142.exno From tcmcs142 for update where tcmcs142._index1 = {:tdsls040.cuno, :tdsls041.cvat} selectdo tcmcs142.exno = "A" db.update(ttcmcs142, db.retry) commit.transaction() selectempty endselect |