• 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: Programmatically changing database configuration on startup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Programmatically changing database configuration on startup


  • Subject: Re: Programmatically changing database configuration on startup
  • From: David LeBer <email@hidden>
  • Date: Mon, 28 Feb 2011 09:21:43 -0500

Yes,

If you are using Wonder you can configure your db connection dictionaries in properties:

<http://wiki.objectstyle.org/confluence/display/WO/Project+Wonder+Properties+Files>

Look at the source for <http://wonder.sourceforge.net/javadoc/er/extensions/ERXConfigurationManager.html> if you want to see how it's done.

On 2011-02-28, at 9:12 AM, Paul Dunkler wrote:

> Hi all,
>
> we are currently trying to make our deployment work nice.
>
> A problem we currently have is, that we have different database connection configurations in the EOModel of our Application (one for deployment and one for local testing).
> Now the question is if it is possible to change these configuration automatically on startup of our application instead of activating/deactivating the profiles through WOLips. Or maybe "Deployment Profile" would help us on this way?
>
> Please share your experiences about changing from local to deployment environments with your WO-Applications.
>
>
> --
> Best Regards
>
> Paul Dunkler
> _______________________________________________
> 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

;david

--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: 	http://codeferous.com
blog: 	http://davidleber.net
profile:	http://www.linkedin.com/in/davidleber
twitter:	http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org




 _______________________________________________
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

References: 
 >Programmatically changing database configuration on startup (From: Paul Dunkler <email@hidden>)

  • Prev by Date: Programmatically changing database configuration on startup
  • Next by Date: Re: Dr. Miguel 'Optimistic Locking' Arroz [was Re: WebObjects stress Testing tool?]
  • Previous by thread: Programmatically changing database configuration on startup
  • Next by thread: Fwd: Programmatically changing database configuration on startup
  • Index(es):
    • Date
    • Thread