This content has been marked as final.
Show 2 replies
-
1. Re: Question about Pessimistic Transactions.
rvansa Jan 16, 2017 3:32 AM (in response to seto)No, reads never acquire locks, netiher with pessimistic nor with optimistic transactions. You need to use AdvancedCache.lock(key) if you want to guarantee that the value does not change before committing the other values.
-
2. Re: Question about Pessimistic Transactions.
seto Jan 16, 2017 3:34 AM (in response to rvansa)Thank you for the clarifying. I'm using the lock from AdvancedCache now. Just be sure the manual lock is required if I want to.