Search results

  1. J

    Code execution paused because of record lock in trigger

    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...
  2. J

    Right approach when using transactions and strong scope to conditional update

    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...
Top