Re: ERMovies example with other database

2017-09-24 Thread Paul Hoadley
Hi André, On 25 Sep 2017, at 5:28 am, André Rothe 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 cred

Re: ERMovies example with other database

2017-09-24 Thread Paul Yu
You can set the database properties in the Properties file. All of the connection dictionary parameters has a Properties equivalent. Are you new to WebObjects? Paul Sent from my iPhone Please excuse iOS autocomplete > On Sep 24, 2017, at 4:21 PM, Theodore Petrosky wrote: > > > > I am

Re: ERMovies example with other database

2017-09-24 Thread André Rothe
Hm, this podcast doesn't show a solution for my problem. I have setup a Derby database, which is empty. Now I think, I have to create a new Database Config on the Movies EOModel within the Entity Modeler? But I don't know, which properties I have to set. As prototype I have used EOJDBCDerbyPro

Re: ERMovies example with other database

2017-09-23 Thread Theodore Petrosky
did you watch David Holt’s ERAttachmet tutorial in the podcasts? storageType the type of attachment to create, i.e. "s3", "db", or "file" -- defaults to "db" (or the value of er.attachment.storageType) > On Sep 23, 2017, at 3:44 PM, André Rothe wrote: > > Hi, > > The ERMovies example use

ERMovies example with other database

2017-09-23 Thread André Rothe
Hi, The ERMovies example uses per default an H2 database. Which steps are necessary to switch to another database like Derby or MySQL? There are already SQL scripts within the ERMoviesLogic framework, but I don't understand where I have to set the credentials vor the new database. Thank you