refactor: sqlserver 适配

This commit is contained in:
Kelvin 2024-11-27 20:41:39 +08:00
parent 4941a50de5
commit e21e66b291
2 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>12.2.0.jre8</version>
<version>12.4.2.jre8</version>
</dependency>
</dependencies>

View File

@ -16,7 +16,7 @@ spring:
# 从数据源开关/默认关闭
enabled: true
driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver
url: jdbc:sqlserver://192.168.8.68:1433;DatabaseName=DPG_RH_YQ_20240711;encrypt=true;trustServerCertificate=true
url: jdbc:sqlserver://192.168.8.68:1433;DatabaseName=DPG_RH_YQ_20240711;encrypt=false;trustServerCertificate=true;
username: sa
password: rh123456
# 初始连接数