From d91ddd42875edd87a24804c3b2a71a0c7f0d6d45 Mon Sep 17 00:00:00 2001 From: Yen Date: Mon, 19 Sep 2022 17:25:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0mssql=E9=A9=B1=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 6 ++++++ src/main/resources/application-dev.yml | 1 + 2 files changed, 7 insertions(+) diff --git a/pom.xml b/pom.xml index 8d5f3954..c8e6b737 100644 --- a/pom.xml +++ b/pom.xml @@ -137,6 +137,12 @@ 8.0.15 + + + + + + org.projectlombok lombok diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index 4aa78f99..c2b37a4f 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -7,6 +7,7 @@ server: spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver + #driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver url: jdbc:mysql://192.168.0.9:3333/qs-base-questionnaire?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai #url: jdbc:mysql://192.168.0.9:3333/qs-base-questionnaire?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true username: root