Re: EOModel Deployment & Configuration
Re: EOModel Deployment & Configuration
- Subject: Re: EOModel Deployment & Configuration
- From: jerry porter <email@hidden>
- Date: Thu, 21 Jul 2005 17:44:48 -0700 (PDT)
Hi,
We use a couple of classes that parse a property from our java properties files
and munge the connection dictionary of our model after its been loaded
but before any db access hs been done.
Similar to the method described in Chap 2 of Chuck Hills Practical
WebObjects book.
Jerry
--- Colin Shreffler <email@hidden> wrote:
>
> How do I change my database connection information in my EOModel for each
> of my environments?
>
> When I deploy my application, I want it to point to a different database
> than when I'm working in Dev without having to change the connection
> properties every time that I deploy.
>
> Also: Is there a way to programatically set the connection information so
> that perhaps I could read the information from an xml file during run
> time?
>
> Thank you,
> -c
>
> _______________________________________________
> 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
>
Jerry Porter
Senior Software Engineer
Universal Measurement Solutions, Ltd.
Suite 1210, 333 - 5th Avenue S.W.
Calgary, Alberta
Canada T2P 3B6
http://www.umsltd.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
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