Spring Boot 2 + Spring Data REST + MySQL Example | Java Inspires

Published: 24 July 2020
on channel: Java Inspires
503
10

In this video, we will see
how to work with Spring DATA REST.
here i am using
Spring Boot 2
Spring Data REST
Spring Data JPA
MySQL database.

Please comment if you have any queries...

application.properties
------------------------------------
#MySQL Configurations
spring.datasource.url=jdbc:mysql://localhost:3306/testdb
spring.datasource.username=root
spring.datasource.password=root
spring.datasource.driver-class-name=com.mysql.jdbc.Driver


#JPA configurations
spring.jpa.hibernate.ddl-auto=create
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.format_sql=true

@SpringBootApplication Annotation used

Error:
java.sql.SQLSyntaxErrorException: Table 'testdb.customer' doesn't exist


Thats It guys.... THANK YOU:)

Spring Boot 2 + Spring Data REST + MySQL Example | Java Inspires

#JavaInspires
#SpringBoot
#CodeExamples


Watch video Spring Boot 2 + Spring Data REST + MySQL Example | Java Inspires online without registration, duration hours minute second in high quality. This video was added by user Java Inspires 24 July 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 503 once and liked it 10 people.