• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: EOModel Deployment & Configuration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: EOModel Deployment & Configuration
      • From: Art Isbell <email@hidden>
References: 
 >EOModel Deployment & Configuration (From: "Colin Shreffler" <email@hidden>)

  • Prev by Date: Re: System Configuration Conventions
  • Next by Date: Re: EOModel Deployment & Configuration
  • Previous by thread: Re: EOModel Deployment & Configuration
  • Next by thread: Re: EOModel Deployment & Configuration
  • Index(es):
    • Date
    • Thread