From a924be5bc7c0d8e4f11144a1aca8b3c2f943f3cc Mon Sep 17 00:00:00 2001 From: ycl Date: Fri, 31 Oct 2025 18:47:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20template/entrance/web/src/?= =?UTF-8?q?main/resources/application.properties?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/entrance/web/src/main/resources/application.properties | 1 + 1 file changed, 1 insertion(+) 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