https://github.com/techprimers/spring-jpa-hibernate-mysql-example
Spring Data JPA with Hibernate using MySql Example
https://github.com/techprimers/spring-jpa-hibernate-mysql-example
hibernate mysql spring-data-jpa spring-data-rest
Last synced: 8 months ago
JSON representation
Spring Data JPA with Hibernate using MySql Example
- Host: GitHub
- URL: https://github.com/techprimers/spring-jpa-hibernate-mysql-example
- Owner: TechPrimers
- Created: 2017-05-19T16:44:58.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-19T16:52:12.000Z (over 8 years ago)
- Last Synced: 2025-03-28T22:51:12.081Z (9 months ago)
- Topics: hibernate, mysql, spring-data-jpa, spring-data-rest
- Language: Shell
- Homepage: https://youtu.be/OhgJmZEva7A
- Size: 47.9 KB
- Stars: 25
- Watchers: 1
- Forks: 48
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spring Data JPA with Hibernate using MySql Example
This project depicts the Spring Boot Example with Spring Data JPA with Hibernate using MySql Example.
## Description
This Project shows the list of Users which are stored in the MySql Database. Using the following endpoints, different operations can be achieved:
- `/rest/users/all` - This returns the list of Users in the Users table which is created in MySql Table (users)
- `/rest/users/{name}` - This returns the details of the Users passed in URL
- `/rest/id/{id}` - This returns the details of the Users for the user Id passed in URL
- `/rest/update/{id}/{name}` - This updates the name of the user for the userId passed in the URL
## Libraries used
- Spring Boot
- Spring MVC (Spring Web)
- Spring Data JPA with Hibernate
- MySql
## Tools used
- Git 2.10.0
- IntelliJ IDEA 2017.1
- MySql running locally
## Compilation Command
- `mvn clean install` - Plain maven clean and install