I could run the example "empire-db-example-basic" successfully. Am on my feet now. Thanks Rainer.
Deepak "The greatness of a nation can be judged by the way its animals are treated - Mahatma Gandhi" +91 73500 12833 [email protected] Facebook: https://www.facebook.com/deicool LinkedIn: www.linkedin.com/in/deicool "Plant a Tree, Go Green" Make In India : http://www.makeinindia.com/home On Tue, Jun 21, 2022 at 1:45 PM Rainer Döbele <[email protected]> wrote: > Hello Deepak, > > > > we’re using HSQLDB as a lightweight database to run our examples. > > Personally I don’t use it for anything else so I cannot really answer your > question. > > > > However in the config.xml you are able to choose another database: > > > > <config> > > <properties> > > <!-- provider name must match the property-section > containing the connection data --> > > <databaseProvider>*hsqldb*</databaseProvider> > > </properties> > > > > > > Simply change the <databaseProvider> to the name of any of the sections > below (like e.g. “postgresql” for the section <properties-postgresql>) and > enter you connection data there. > > > > Hope this helps. > > > > Regards > > Rainer > > > > > > *from:* Deepak Goel <[email protected]> > *to:* [email protected] > *subject:* Re: Newbie Question > > > > Hi > > > > This is not really directly related to EmpireDB. Nevertheless, I am > running into this issue: > > > > The code "empire-db-example-basic" is using hsqdb and that too in Memory > mode. How do I shift it to DISK mode. > > > > I am trying to change - SYSTEM_PROPERTIES (hsqldb.default_table_type) > from Memory to DISK but it is telling me that the file is READONLY. It > won't let me edit. > > > > Please advise. > > > > Thanks. > > > > > Deepak > > "The greatness of a nation can be judged by the way its animals are > treated - Mahatma Gandhi" > > +91 73500 12833 > [email protected] > > Facebook: https://www.facebook.com/deicool > LinkedIn: www.linkedin.com/in/deicool > > > > "Plant a Tree, Go Green" > > > > Make In India : http://www.makeinindia.com/home > > > > > > On Sun, Jun 19, 2022 at 7:41 PM Deepak Goel <[email protected]> wrote: > > Thanks Rainer. That's a step ahead in the future. Will play around and > revert. > > > > Thanks once again. > > > > > Deepak > > "The greatness of a nation can be judged by the way its animals are > treated - Mahatma Gandhi" > > +91 73500 12833 > [email protected] > > Facebook: https://www.facebook.com/deicool > LinkedIn: www.linkedin.com/in/deicool > > > > "Plant a Tree, Go Green" > > > > Make In India : http://www.makeinindia.com/home > > > > > > On Sun, Jun 19, 2022 at 6:12 PM Rainer Döbele <[email protected]> wrote: > > Dear Deepak, > > > > I recommend to use an IDE like Eclipse or NetBeans in order to Debug the > examples, which IMO is essential to understand what’s going on. > > > > Also you usually don’t download the dependencies (like slf4j, apache > commons etc.) yourself, but let Maven (dependency management) do the job. > > Most IDEs offer a Maven Plugin (recommended) but you might also get it > from here: > > Maven – Download Apache Maven <https://maven.apache.org/download.cgi> > > > > Here’s what I do in Eclipse: > > 1. In “Project Explorer” right click and chose Import -> Existing > Maven Projects > 2. Browser to the Empire-db root folder and finish > 3. Expand the project “empire-db-example-basic” and the package > “org.apache.empire.samples.db” and open the file SampleApp.java > 4. Then set a breakpoint right at the first command in the run() > method (currently line 107) > 5. Now Right click the project “empire-db-example-basic” and select > Debug As -> Java Application > > > > Hope this helps. > > > > Regards, > > Rainer > > > > > > *from:* Deepak Goel <[email protected]> > *to:* [email protected] > *subject:* Newbie Question > > > > Hello > > > > I am new to Empire-DB and was wondering if there is a tutorial to get me > up and running on Windows. > > > > What I have done till now: > > > > 1. Installed Java 8 > > 2. Installed MySQL 8 > > 3. Did download (empiredb, slf4j api module, apache common beanutils) > > 4. Now what? > > > > Thanks! > > > Deepak > > "The greatness of a nation can be judged by the way its animals are > treated - Mahatma Gandhi" > > +91 73500 12833 > [email protected] > > Facebook: https://www.facebook.com/deicool > LinkedIn: www.linkedin.com/in/deicool > > > > "Plant a Tree, Go Green" > > > > Make In India : http://www.makeinindia.com/home > >
