|
|
I need some help with optimistic locking. Maybe I'm not understanding this correctly.
I have my entities set up in EOModeler with certain attributes marked as locking. Everything functions correctly in the app by the way, this is a D2W modern app.
User number 1 logged in from one location and edits attb1, user 2 logged in from another location and is editing at the same record. User one updates attb1 and saves. By the way I am watching the SQL go by and I see the optimistic locking. I mean, I see update Entity.attr1 where attr2 = “”;
User two login and updates Entity attr2 and saves. SQL update Entity.attr1 where attr1 = the new attr1. The save goes through wiping out user ones change.
I expected to get a warning saying can't update this record because optimistic log is out. Or, just a failure with a validation error.
Am I doing something wrong or did I not set something in a property?
Ted
|
|