Re: multiple model usage example
Re: multiple model usage example
- Subject: Re: multiple model usage example
- From: Kieran Kelleher <email@hidden>
- Date: Mon, 28 Jul 2008 08:08:31 -0400
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.
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