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      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to