From d1565466e44a3eb4878bdbd48c4366e2241bd066 Mon Sep 17 00:00:00 2001 From: ycl Date: Fri, 20 Sep 2024 11:56:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20template/entrance/web/src/?= =?UTF-8?q?main/resources/application-remote.properties?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web/src/main/resources/application-remote.properties | 2 ++ 1 file changed, 2 insertions(+) diff --git a/template/entrance/web/src/main/resources/application-remote.properties b/template/entrance/web/src/main/resources/application-remote.properties index 9a2f585..fb120a1 100644 --- a/template/entrance/web/src/main/resources/application-remote.properties +++ b/template/entrance/web/src/main/resources/application-remote.properties @@ -14,6 +14,8 @@ spring.datasource.password=${DB_PASSWORD:{{ .dbPassword }}} spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver {{- else if eq .dbType "postgresql" }} spring.datasource.driver-class-name=org.postgresql.Driver +hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect +vs.sqlmapper.dialect=postgresql {{- end }} spring.datasource.type=org.apache.tomcat.jdbc.pool.DataSource spring.datasource.tomcat.max-age=3600000