• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
?? about opportunistic locking...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: ?? about opportunistic locking...
      • From: Miguel Arroz <email@hidden>
    • Re: ?? about opportunistic locking...
      • From: Mark Ritchie <email@hidden>
  • Prev by Date: D2W String <Pre> Formatting
  • Next by Date: Re: D2W String <Pre> Formatting
  • Previous by thread: Re: D2W String <Pre> Formatting
  • Next by thread: Re: ?? about opportunistic locking...
  • Index(es):
    • Date
    • Thread