diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..04d7718 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +.idea +target +logs +*.impl diff --git a/pom.xml b/pom.xml index 9b16aee..12589b1 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.springframework.boot spring-boot-starter-parent - 3.0.4 + 3.3.0 net.javaguides @@ -15,7 +15,7 @@ Demo project for Spring Boot and thymeleaf - 17 + 21 @@ -31,7 +31,6 @@ org.springframework.boot spring-boot-starter-web - org.springframework.boot spring-boot-devtools diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 4cd84b1..e8cf1a2 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,5 +1,5 @@ # DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties) -spring.datasource.url=jdbc:mysql://localhost:3306/demo?useSSL=false&serverTimezone=UTC&useLegacyDatetimeCode=false +spring.datasource.url=jdbc:mysql://localhost:3306/demo?createDatabaseIfNotExist=true&useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Jakarta&useSSL=false&allowPublicKeyRetrieval=true spring.datasource.username=root spring.datasource.password=root