?? about opportunistic locking...
?? about opportunistic locking...
- Subject: ?? about opportunistic locking...
- From: Theodore Petrosky <email@hidden>
- Date: Mon, 17 May 2010 14:18:56 -0700 (PDT)
I have a small app where I create a modaldialog to edit the attributes of an entity. all of the attributes are marked for 'locking' in Entity Modeler.
I ran my app in development mode and brought up the dialog to edit the attributes.
I fired up another computer pointed the browser at the same record.
so both computers are looking at record 1 and have different values in the fields.
I was expecting that that I could saved the changes from the browser on machine one, and if I tried to save the changes from machine two the app would throw an exception and I would see it in the logs....
to my surprise, there was no error... machine two's changes were saved over machine one.
so either I am doing something wrong or I don't understand opportunistic locking..
I hope someone can help straighten me out.
Ted
_______________________________________________
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