Re: model connections to multiple DBs
Re: model connections to multiple DBs
- Subject: Re: model connections to multiple DBs
- From: Paul D Yu <email@hidden>
- Date: Mon, 04 Apr 2011 11:08:05 -0400
Yeah, that's the way to go.
Reverse engineer each database into it's own EOModel, then build the relationships between the models.
Be mindful that EO's can NOT have the same names across your models. So you may have to put prefixes on the EO's after you reverse engineer the DB tables.
Paul
On Apr 4, 2011, at 11:04 AM, Simon wrote:
> i think it's a big no :-(
>
> but you can definitely have multiple models - one for each db - and
> relationships between the models.
>
> simon
>
> On 4 April 2011 16:00, Michael Gargano <email@hidden> wrote:
>> Hi all,
>>
>> Is there a way to have a model connect to different databases simultaneously? So, I have a schema that is rev. eng'ed but that same schema is on 10 different databases, I want to fetch data from different DB's for different users of the system simultaneously. Is this possible? omg.... please say YES. :)
>>
>> Thanks.
>> -Mike
>>
>>
>> _______________________________________________
>> 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
>>
> _______________________________________________
> 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
_______________________________________________
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