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      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to