Re: Dynamically altering external names for Entities (solution)
Mark Morris <[email protected]> Wed, 14 May 2003 08:56:28 -0500
| Newsgroups | gmane.comp.web.webobjects.eof |
|---|---|
| Message-ID | <[email protected]> |
To continue the thought, I could create a new EOObjectStoreCoordinator in the Session constructor:
EOObjectStoreCoordinator osc = new EOObjectStoreCoordinator();
setDefaultEditingContext(new EOEditingContext(osc));
Then I could register a Session method for a channelNeeded notification from only that EOObjectStoreCoordinator's EOCooperatingObjectStores. (Will one exist yet? Could more be created?) In that Session method, of course, is where I'd set my delegate on the channel, so theoretically I would know that these channels are only for a particular Session, and can have session-specific info in the delegate.
Does this make sense? Thanks again!
-- Mark
On Wednesday, May 14, 2003, at 08:32AM, Mark Morris <[email protected]> wrote:
>Okay, working along those lines, can't I set up a connection per Session? Something along the same lines as when you want to use the actual user's database login and password for the connection dictionary?
>
>Thanks again for all the assistance! :-)
>
>-- Mark
>