• 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: ERMovies example with other database
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >ERMovies example with other database (From: André Rothe <email@hidden>)
 >Re: ERMovies example with other database (From: Theodore Petrosky <email@hidden>)
 >Re: ERMovies example with other database (From: André Rothe <email@hidden>)

  • Prev by Date: Re: ERMovies example with other database
  • Next by Date: Reading EOModel files
  • Previous by thread: Re: ERMovies example with other database
  • Next by thread: Reading EOModel files
  • Index(es):
    • Date
    • Thread