Working with transactions, I found the following problem / imagined scenario.
A record needs to be updated and for that I used strong scope, transaction and proper lock, like so:
def buffer customer for customer.
do for customer trans.
find customer exclusive-lock where...
Imagine the following scenario:
I have a client who only needs to be updated if they meet certain criteria based on their own data. I can only update the record if it meets the criteria (so I only lock the record after the IF statements, when necessary) and the data I was based on cannot have...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.