Re: Programmatically changing database configuration on startup
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