Optimistic Locking?
Optimistic Locking?
- Subject: Optimistic Locking?
- From: "Chan Yeow Heong, Jerome" <email@hidden>
- Date: Mon, 21 Sep 2009 15:29:12 +0800
How do I tell if Optimistic Locking is working?
I've made a EOF Model with a versions field. Everything but the id and
the versions field has the lock symbol unchecked in WoLIPS. In my
EOEditingContext delegate's editingContextWillSaveChanges method I
incremented the versions field by 1. I opened up a web page that edits
the EOF model, then used another app to change the versions number in
the database. I made some changes to the EOF model via the web page
and did a save. I don't get an error.
Is there something I need to turn on? A flag of some sort? Or am I
misunderstanding how Optimistic Locking works?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden