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      (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