Re: Connecting to deployment database for development/testing
Re: Connecting to deployment database for development/testing
- Subject: Re: Connecting to deployment database for development/testing
- From: Paul Lynch <email@hidden>
- Date: Tue, 28 Mar 2006 16:36:44 +0100
On 28 Mar 2006, at 16:23, John Huss wrote:
I was curious how most of you specify the URL of your database in
EOModeler. Do you use localhost, etc, or the actual address of the
server? What I mean is, do you connect to the production database
while developing and/or testing, or do you just use a local version?
I use the test database URL in the EOModeler (usually localhost, but
not necessarily), and pass an argument to the app that I can read
from Properties to set the connection dictionary for any different
configuration; I'll merge dictionaries rather than replace them, but
that is personal taste. I keep various connection dictionaries in
plist format in Resources, which makes them easy to edit for deployment.
Paul
_______________________________________________
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