Re: multiple model usage example
Re: multiple model usage example
- Subject: Re: multiple model usage example
- From: Lachlan Deck <email@hidden>
- Date: Fri, 11 Jul 2008 15:31:44 +1000
On 11/07/2008, at 2:51 PM, Joe Little wrote:
I noticed on the confluence wiki a stub on advanced EOF for handling
multiple models. I was wondering if anybody had sample code out there
on how one generally goes about creating an application with
connection dictionaries, etc, that allow one to access two databases
at the same time. I've finally decided how I'm going to handle
archiving in my active application, but first I need to handle older
editions with older records. Doing it the database way, especially
with relationships, is more than a chore, but its something that is
more reasonable to consider within WO.
If using Wonder:
dbConnectUserGLOBAL=...
dbConnectPasswordGLOBAL=...
##dbConnectURLGLOBAL=... for single connection
# following has each EOModelName.URL. I'm using the same password
hence globally set above.
DBa.URL=...
DBb.URL=...
DBc.URL=...
....
with regards,
--
Lachlan Deck
_______________________________________________
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