Re: multiple model usage example
Re: multiple model usage example
- Subject: Re: multiple model usage example
- From: "Joe Little" <email@hidden>
- Date: Mon, 28 Jul 2008 10:38:06 -0700
On Mon, Jul 28, 2008 at 5:08 AM, Kieran Kelleher <email@hidden> wrote:
> Hi Joe,
>
> Not sure if this is what you are looking for .... here is an example of
> entries in Properties for access to different databases:
>
> <snip>
> #########################################################################
> # ERExtensions - ERXModelGroup properties
> #########################################################################
>
> er.extensions.ERXModelGroup.prototypeModelNames=WKPrototypes
>
> cheetah.URL = jdbc:mysql://host1/cheetah?capitalizeTypenames=true
> cheetah.DBUser = @@cheetah.dbuser@@
> cheetah.DBPassword = @@cheetah.dbpassword@@
> cheetah.DBDriver =
> cheetah.DBPlugin =
> cheetah.DBJDBCInfo =
>
>
> demography.URL = jdbc:mysql://host2/demography?capitalizeTypenames=true
> demography.DBUser = @@demography.dbuser@@
> demography.DBPassword = @@demography.dbpassword@@
> demography.DBDriver =
> demography.DBPlugin =
> demography.DBJDBCInfo =
> </snip>
>
> IIRC, ERXModelGroup is where a lot of model startup entity loading munging
> happens, so examining the source there can indicate what is happening, how
> it works, and what Properties entries affect what.
>
I'll look into the code. Never looked inside Wonder source and was
hoping for examples on how to use it. So, there isn't posted anyway
examples on using ERXModelGroup and loading models into an app within
Application? Again, I've been limited to the stuff that WO just gives
you to date, which is all automatic. My understanding currently ends
there.
> HTH,
>
> Kieran
>
> On Jul 28, 2008, at 2:22 AM, Joe Little wrote:
>
>> That would need to be an ER Model I take it. Again, do you happen to
>> have a snippet of code taking multiple entity modeler defined models,
>> overriding those settings, etc, and then having a joined model group..
>> or should this not be in a model group. I'm confused as to how this is
>> all done w/ Wonder as I've also been trying to use ModelConnector and
>> other PracticalWO Frameworks solutions to the same.
>>
>>
>> On Sun, Jul 27, 2008 at 10:48 PM, Guido Neitzer <email@hidden> wrote:
>>>
>>> On 27.07.2008, at 23:28, Joe Little wrote:
>>>
>>>> Ok. I've banged my head on this one a lot. ConfigurationManager allows
>>>> you to change anything except for the database itself.
>>>
>>> ??
>>>
>>> dbConnectURLGLOBAL=jdbc:postgresql://localhost/meetings
>>>
>>> That can also be set on a per model base.
>>>
>>> cug
>>>
>>> --
>>> http://www.event-s.net
>>>
>>>
>> _______________________________________________
>> 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