• 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: Enumerating EOs in a new thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Enumerating EOs in a new thread


  • Subject: Re: Enumerating EOs in a new thread
  • From: Paul Stringer <email@hidden>
  • Date: Sat, 26 Jan 2008 21:17:26 +0100

A new object store coordinator together with ERXEOControlUtilities did the trick. thanks guys, this is a really useful thing to know how to do.

On Jan 25, 2008, at 6:29 PM, Guido Neitzer wrote:

On 25.01.2008, at 04:27, Paul Stringer wrote:

I've encountered this before when working with EO's in separate threads, are there some rules to follow when doing so?


My advice: pass an array of global ids or primary keys to the thread, build the array of enterprise objects there inside a separate editing context on a separate object store coordinator. Then you get your own connection to the database and you're not blocking the rest.

If you are using Wonder: there are two methods in ERXEOControlUtilities for getting an array of global ids from an array of eos and vice versa.

_______________________________________________
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: 
 >Enumerating EOs in a new thread (From: Paul Stringer <email@hidden>)
 >Re: Enumerating EOs in a new thread (From: Guido Neitzer <email@hidden>)

  • Prev by Date: Re: WOLips: 80 character width gutter?
  • Next by Date: Re: 2 WOLips Questions.
  • Previous by thread: Re: Enumerating EOs in a new thread
  • Next by thread: New EOGenerator templates section on the Wiki
  • Index(es):
    • Date
    • Thread