From c66a060470d69c37d73ee0677dac34311970ca9e Mon Sep 17 00:00:00 2001 From: myh Date: Sat, 7 Oct 2023 18:48:24 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- src/main/resources/application.properties | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 6d43613..4e9171f 100644 --- a/pom.xml +++ b/pom.xml @@ -57,7 +57,7 @@ 20.1.0 compile - + diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 225f26a..6499485 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,9 +1,12 @@ +spring.datasource.driver-class-name=com.microsoft.sqlserver.jdbc.SQLServerDriver server.port=8080 -spring.datasource.url=jdbc:sqlserver://152.136.182.168:1433;databaseName=Elm;\ - encrypt=true;trustServerCertificate=true;loginTimeout=30; +spring.datasource.url=jdbc:sqlserver://152.136.182.168:1433;\ + databaseName=Elm;\ + encrypt=true;\ + trustServerCertificate=true;\ + loginTimeout=30; spring.datasource.username=guest spring.datasource.password= -spring.datasource.driver-class-name=com.microsoft.sqlserver.jdbc.SQLServerDriver spring.jpa.hibernate.ddl-auto=none spring.jpa.show-sql=true spring.jpa.properties.hibernate.format_sql=true