• 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: EOEditingContext Lock/Unlock best practice?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EOEditingContext Lock/Unlock best practice?


  • Subject: Re: EOEditingContext Lock/Unlock best practice?
  • From: David LeBer <email@hidden>
  • Date: Thu, 9 Apr 2009 16:05:26 -0400


On 9-Apr-09, at 3:58 PM, Guido Neitzer wrote:

On 9. Apr. 2009, at 12:46 , shravan kumar wrote:

Now am using ERXEC.newEditingContext() for creating new EC's, manually locking/ unlocking where required. Also locking/ unlocking in awake/ sleep respectively respect object bindings in the component.

As long as you don't subclass ERXApplicaton and ERXSession, that won't help you much over using EOEditingContext.


You might grap the code related to autolocking and incorporate that in your app, but I'd avoid that.

If you want to use MultiECLockManager - unfortunately I never used it and I don't have a download source. The links here:

http://wiki.objectstyle.org/confluence/display/WO/EOF-Using+EOF-Context+and+Database+Locking

Seem to be dead again (wocode).

I'm not sure if this up to date (and I don't use it), but I put the copy I had here: <http://codeferous.com/files/MultiECLockManager.java>


;david

--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: 	http://codeferous.com
blog: 	http://davidleber.net
profile:	http://www.linkedin.com/in/davidleber
twitter:	http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org




_______________________________________________ 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: 
 >Re: EOEditingContext Lock/Unlock best practice? (From: shravan kumar <email@hidden>)
 >Re: EOEditingContext Lock/Unlock best practice? (From: Guido Neitzer <email@hidden>)

  • Prev by Date: Re: EOEditingContext Lock/Unlock best practice?
  • Next by Date: Re: EOEditingContext Lock/Unlock best practice?
  • Previous by thread: Re: EOEditingContext Lock/Unlock best practice?
  • Next by thread: Re: EOEditingContext Lock/Unlock best practice?
  • Index(es):
    • Date
    • Thread