On 7/11/2012 7:17 PM, Ryan How wrote:
You could just throw an exception on PK update.

Just thinking some more. I think this might be a better option.

Imagine if the PK has been updated in-between the fetch and store by another transaction. Then this could have disastrous behaviour. And it would break optimistic locking.



Reply via email to