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
Смотрите видео Spring Boot 2 + Spring Data REST + MySQL Example | Java Inspires онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Java Inspires 24 Июль 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 503 раз и оно понравилось 10 людям.