Spring Boot RESTful CRUD API Using JPA Data, Hibernate, MySQL.
Spring Boot RESTful CRUD API Using JPA Data, Hibernate, MySQL Project Structure Here is the updated project structure. We will continue with our previous example. Updated Project Structure Add Dependencies First we need to add the following dependencies in our build.gradle file: spring-boot-starter-data-jpa mysql-connector-java spring-boot-starter-data-rest // https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-data-jpa compile ( 'org.springframework.boot:spring-boot-starter-data-jpa' ) // https://mvnrepository.com/artifact/mysql/mysql-connector-java compile group : 'mysql' , name : 'mysql-connector-java' , version : '5.1.6' // https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-data-rest compile group : 'org.springframework.boot' , name : 'spring-boot-starter-data-rest' , version : '1.0.0.RELEASE' Create MySQL Database Here is the scr...