diff --git a/template/entrance/web/src/main/resources/application.properties b/template/entrance/web/src/main/resources/application.properties index 1f8276f..faaa5b0 100644 --- a/template/entrance/web/src/main/resources/application.properties +++ b/template/entrance/web/src/main/resources/application.properties @@ -13,6 +13,7 @@ project_name={{ .projectName }} base.package={{.groupId}} {{- if eq .dbType "mysql" }} spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver +hibernate.dialect=org.hibernate.dialect.MySQLDialect {{- else if eq .dbType "postgresql" }} spring.datasource.driver-class-name=org.postgresql.Driver vs.sqlmapper.dialect=postgresql