I understand that passing EOs between threads is a bad idea, so I'm passing
GIDs into the Callable.
My sessions have a parent editing context that contains a connection dictionary
that is set based on the logged in user (and some session state). (The session
modifies the connection dictionary and closes the channels and calls
connectWithModelNamed())
Do I have to initiate this connection again in the thread or is there a way to
use the registered channels that already exist. (The thread is not modifying
any EOs... they are just being reported on and rendered)
Right now, the process in the thread is:
ERXEC.newEditingContext()
close channels
connectWithModelNamed (and connection dictionary info passed into the
thread constructor)
ec.faultWithGlobalID to get necessary EOs
Is there a better way to do this?
Larry Mills-Gahl
[email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]