• 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: ERXEC and locking
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERXEC and locking


  • Subject: Re: ERXEC and locking
  • From: Johann Werner <email@hidden>
  • Date: Thu, 13 Aug 2009 13:27:47 +0200

Hi Mark,

Am 13.08.2009 um 13:11 schrieb Mark Gowdy:

Hi there,

I have been watching Chuck's podcast - "WebObjects Quite Good Practices", and I would like to make absolutely sure that I understand this correctly.

Q: Is it true to say:
---------
If I use ERXEC to create all my editingContexts, using:
EOEditingContext ec = ERXEC.newEditingContext();
then I do not have to worry about locking, it all happens automagically.
---------

That is absolutely correct... but (there is always a but, isn't it ;-) if you are not within a RR-loop (think of separate long running threads, ...) you have to lock manually.


jw



Thanks,

Mark

_______________________________________________
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: ERXEC and locking
      • From: Mike Schrag <email@hidden>
References: 
 >ERXEC and locking (From: Mark Gowdy <email@hidden>)

  • Prev by Date: ERXEC and locking
  • Next by Date: Re: ERXEC and locking
  • Previous by thread: ERXEC and locking
  • Next by thread: Re: ERXEC and locking
  • Index(es):
    • Date
    • Thread