Re: ERMovies example with other database
Re: ERMovies example with other database
- Subject: Re: ERMovies example with other database
- From: Paul Hoadley <email@hidden>
- Date: Mon, 25 Sep 2017 08:31:58 +0930
Hi André,
On 25 Sep 2017, at 5:28 am, André Rothe <email@hidden> wrote:
> Are there any properties I can set in the Properties file? There is a
> webobjectsexamples.ERMoviesLogic.useEmbeddedH2Database=true within the
> properties file of ERMovies, which I set to false. But is it better to
> declare the credentials within that property file instead direct within the
> model? How are the names of the database source properties there?
I haven’t looked at that particular example app in some time, but yes there are
properties you can use to set up the database connection dictionary, and you
shouldn’t need to touch the model. Look at the “Global Connection Properties”
at the bottom of this page:
https://wiki.wocommunity.org/display/documentation/Best+Practices-Properties+Files
<https://wiki.wocommunity.org/display/documentation/Best+Practices-Properties+Files>
--
Paul Hoadley
https://logicsquad.net/
https://www.linkedin.com/company/logic-squad/
_______________________________________________
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