Quantcast
Channel: Baanboard.com
Viewing all articles
Browse latest Browse all 4216

Delayed lock & retry Point

$
0
0
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?

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

Viewing all articles
Browse latest Browse all 4216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>