• 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: lock an entity?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lock an entity?


  • Subject: Re: lock an entity?
  • From: Chuck Hill <email@hidden>
  • Date: Mon, 14 May 2007 11:25:03 -0700

That sounds like pessimistic locking. WO is more oriented at optimistic locking, but that can get complex to handle with you have multiple instances (EOF handles this differently when conflicts happen within one EOF stack and when they happen across EOF stacks).

I'd work out how to deal with the optimistic locking failures. You can find how to do this in EditingPage.java in the GVCWOExtensions framework. I am not sure what, if anything, Wonder has for this.

Chuck


On May 14, 2007, at 11:01 AM, YL wrote:

It's a config table, I want to make sure onle one person can change it at a
time.
Assume multiple people have the access for changing the table remotely.



----- Original Message ----- From: "Chuck Hill" <email@hidden> To: "YL" <email@hidden> Cc: <email@hidden> Sent: Monday, May 14, 2007 10:58 AM Subject: Re: lock an entity?


Locking is at the editing context level.  What are  you trying to do?

Chuck


On May 12, 2007, at 7:08 PM, YL wrote:

Is there a way to lock an entity to prevent other accesses to it
(even refuse read/fetch) during the current transaction?
Thanks

--

Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects








--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.467 / Virus Database: 269.7.0/803 - Release Date: 5/13/2007
12:17 PM



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net


This email sent to email@hidden


--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects






_______________________________________________
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


References: 
 >lock an entity? (From: "YL" <email@hidden>)
 >Re: lock an entity? (From: Chuck Hill <email@hidden>)
 >Re: lock an entity? (From: "YL" <email@hidden>)

  • Prev by Date: Re: lock an entity?
  • Next by Date: Re: lock an entity?
  • Previous by thread: Re: lock an entity?
  • Next by thread: Re: lock an entity?
  • Index(es):
    • Date
    • Thread