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

Fwd: Programmatically changing database configuration on startup


  • Subject: Fwd: Programmatically changing database configuration on startup
  • From: Paul Dunkler <email@hidden>
  • Date: Mon, 28 Feb 2011 16:56:10 +0100

Sorry, but i forgot to forward the answer on my past question to the whole mailing list.

Here is my answer again for all other people which are investigating the same issue.

> Thank you for the quick help.
>
> I'm ended up with using the wonder property "dbConfigNameGLOBAL". By doing that i can use the connection profiles i've configured before in the EOModeler and don't have to configure the connection parameters in another property-file.
>
> For all other people who are currently investigating about deployment configurations, this wiki entry may be interesting:
> http://wiki.objectstyle.org/confluence/display/WONDER/Best+Practices-Properties+Files
>
>
> Am 28.02.2011 um 15:21 schrieb David LeBer:
>
>> 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
>>
>>
>>
>>
>
> Mit freundlichen Grüßen
>
> Paul Dunkler
>
>

PNG image

>
>
> -----------------------------------------------------
> XYRALITY GmbH • Lerchenstraße 28a • 22767 Hamburg
> Paul Dunkler • Softwareentwickler
> Mail: email@hidden
> Tel: +49 (0) 40 23 51 78 97
> Mobil: +49 (0) 151 11624143
> Fax: +49 (0) 40 23 51 78 98
> Web: http://www.xyrality.com/
> Registergericht: Hamburg HRB 115332
> Geschäftsführer: Sven Ossenbrüggen & Alexander Spohr
> -----------------------------------------------------
>

Mit freundlichen Grüßen

Paul Dunkler


PNG image


-----------------------------------------------------
XYRALITY GmbH • Lerchenstraße 28a • 22767 Hamburg
Paul Dunkler • Softwareentwickler
Mail: email@hidden
Tel: +49 (0) 40 23 51 78 97
Mobil: +49 (0) 151 11624143
Fax: +49 (0) 40 23 51 78 98
Web: http://www.xyrality.com/
Registergericht: Hamburg HRB 115332
Geschäftsführer: Sven Ossenbrüggen & Alexander Spohr
-----------------------------------------------------

 _______________________________________________
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

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