Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daobab-projects/daobab-100plus-examples
Daobab examples in Java
https://github.com/daobab-projects/daobab-100plus-examples
daobab h2-database sakila-database sakila-db
Last synced: 12 days ago
JSON representation
Daobab examples in Java
- Host: GitHub
- URL: https://github.com/daobab-projects/daobab-100plus-examples
- Owner: daobab-projects
- Created: 2021-05-05T16:36:57.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-29T21:21:02.000Z (12 months ago)
- Last Synced: 2023-11-29T22:29:14.912Z (12 months ago)
- Topics: daobab, h2-database, sakila-database, sakila-db
- Language: Java
- Homepage: http://www.daobab.io
- Size: 1.59 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#daobab-100plus-examples
Over 100 Daobab ORM examples, ready to instant use.
#How to run?
A few ways:
1. Go to the specific example and run the main method inside the class.
2. Run a unit test
3. Run DemoApplication to start the examples via http page http://localhost:9000/Along with application, a dedicated H2 database instance is created and fulfilled.
You may connect to the database browser right here: http://localhost:9000/h2
#How to run the remote server examples?
In order to run the remote server examples, just run the application instance via DemoApplication class to create a remove server.
After this, the examples related to the remote querying should be fine.
You may run them by the internal main method for example.#Running on a Mac or Linux?
By default, the project is designed to work withing a Windows environment.
To change it, please modify the key spring.datasource.url into the application.properties file, so that the path would be correct.#Problems during the H2 startup?
Try to remove the previous h2 database file (C:/temp/daobab/daobab.mv.db by default).
The new one will be created. Most likely the previous version is not compatible anymore.#Enjoy Daobab
For any information, please visit http://www.daobab.io