• 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
Re: ?? about opportunistic locking...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ?? about opportunistic locking...


  • Subject: Re: ?? about opportunistic locking...
  • From: Miguel Arroz <email@hidden>
  • Date: Mon, 17 May 2010 22:33:17 +0100

Hi!

  It's optimistic locking, and in my opinion, it's not implemented correctly in WO! ;)

  http://terminalapp.net/dr-optimistic-locking/

  Have fun.

  (I'm not sure if that blog post is 100% correct, I wrote it 2 years ago, but it should be enough to explain the problem)

  Yours

Miguel Arroz

On 2010/05/17, at 22:18, Theodore Petrosky wrote:

> 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


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: Kieran Kelleher <email@hidden>
References: 
 >?? about opportunistic locking... (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: Re: ?? about opportunistic locking...
  • Next by Date: Re: D2W String <Pre> Formatting
  • Previous by thread: Re: ?? about opportunistic locking...
  • Next by thread: Re: ?? about opportunistic locking...
  • Index(es):
    • Date
    • Thread