DEV Community

loizenai
loizenai

Posted on

How to access MySQL database with Spring Data Rest application

https://grokonez.com/java-integration/access-mysql-database-spring-data-rest-application

How to access MySQL database with Spring Data Rest application

Spring Data REST is a combination between Spring HATEOAS and Spring Data JPA. So in the tutorial, JavaSampleApproach show you way to create a Spring Data Rest application to manipulate data with MySQL.

Related posts:

I. Technologies

– Java 8
– Maven 3.6.1
– Spring Tool Suite: Version 3.8.4.RELEASE
– Spring Boot: 1.5.4.RELEASE

  • MySQL

    II. Practice

    In the tutorial, we use Spring Data REST and SpringBoot for building RestAPI application to access MySQL database.

Step to do:

  • Create SpringBoot project
  • Create Customer model
  • Implement Customer repository
  • Implement client to init database
  • Run and check results

https://grokonez.com/java-integration/access-mysql-database-spring-data-rest-application

How to access MySQL database with Spring Data Rest application

Top comments (0)