skip to Main Content

Table is not creating in MySQL server from Spring JPA

I have written the code. It goes like - Here is my GitHub Repo - https://github.com/SuvamNaskar/spring-learn.git spring.datasource.url=jdbc:mysql://${MYSQL_HOST:localhost}:2023/student?createDatabaseIfNotExist=true&useSSL=false spring.datasource.username=root spring.datasource.password=system32 spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.data.jpa.repositories.enabled=true spring.jpa.show-sql=true spring.jpa.properties.hibernate.format_sql=true spring.thymeleaf.check-template-location=false spring.jpa.generate-ddl=true spring.jpa.hibernate.ddl-auto=create-drop spring.jpa.defer-datasource-initialization= true spring.jpa.open-in-view=false logging.level.org.hibernate.SQL=DEBUG logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl This is my application.properties file. I have tried…

VIEW QUESTION

Html – @PutMapping doesn't work in my SpringBoot project

I've tried to implement TodoList editing into my GetTodoController and it doesn't work. <!DOCTYPE html> <html lang="en" xmlns:th="http://www.thymeleaf.org"> <head> <meta charset="UTF-8"> <title>Create Todo</title> <link rel="stylesheet" th:href="@{/styles/todo/operation.css}"> </head> <body> <h2>Edit your Todo!</h2> <form th:method="PUT" th:action="@{/todo/edit/{id}(id=${list.id})}" th:object="${list}"> <label for="name">Name: </label> <input type="text"…

VIEW QUESTION
Back To Top
Search