Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/artysta/java-hibernate-jpa-app
Simple CRUD like application using Hibernate JPA & Maven.
https://github.com/artysta/java-hibernate-jpa-app
Last synced: 8 days ago
JSON representation
Simple CRUD like application using Hibernate JPA & Maven.
- Host: GitHub
- URL: https://github.com/artysta/java-hibernate-jpa-app
- Owner: artysta
- Created: 2019-10-02T16:37:18.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-06-21T01:58:53.000Z (over 2 years ago)
- Last Synced: 2023-03-06T03:13:52.570Z (over 1 year ago)
- Language: Java
- Size: 36.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# java-hibernate-jpa-app
Simple CRUD like application using **Hibernate ORM** & **Apache Maven**.## #1 Install MySQL Server & create database
If you want this app work, you have to install **MySQL server** first.
To do that, you can use the command below (if you are using [Chocolatey](https://chocolatey.org/) software):
`choco install mysql`
Now you have to connect to the MySQL server...
`mysql -u root`
...and create database (**localdatabase** is the name of the database in this case):
`create database localdatabase;`
## #2 Install Apache Maven
Use the command below to install **Apache Maven**:
`choco install maven`
## #3 Run app
Install app using:
`mvn install`
Or if you have already compiled files:
`mvn clean install`
Run app:
`mvn exec:java -Dexec.mainClass="pl.adriankurek.main.App"`
App wont't work without MySQL Server.