Re: Enumerating EOs in a new thread
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