From: Antoine Vinot Date: Wed, 12 Apr 2023 12:32:42 +0000 (+0200) Subject: SONAR-19005 - Upgrade mssql driver dependency X-Git-Tag: 10.1.0.73491~448 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e93d5bb79046619fb99a0653a2cbb62b734be75b;p=sonarqube.git SONAR-19005 - Upgrade mssql driver dependency --- diff --git a/build.gradle b/build.gradle index ce2c55109cc..e0d51450556 100644 --- a/build.gradle +++ b/build.gradle @@ -266,7 +266,7 @@ subprojects { entry 'hazelcast' } // Documentation must be updated if mssql-jdbc is updated: https://github.com/SonarSource/sonarqube/commit/03e4773ebf6cba854cdcf57a600095f65f4f53e7 - dependency('com.microsoft.sqlserver:mssql-jdbc:11.2.3.jre17') { + dependency('com.microsoft.sqlserver:mssql-jdbc:12.2.0.jre11') { exclude 'com.fasterxml.jackson.core:jackson-databind' } dependency 'com.onelogin:java-saml:2.9.0' diff --git a/sonar-application/src/main/assembly/conf/sonar.properties b/sonar-application/src/main/assembly/conf/sonar.properties index 65be854976f..b999c3ab851 100644 --- a/sonar-application/src/main/assembly/conf/sonar.properties +++ b/sonar-application/src/main/assembly/conf/sonar.properties @@ -48,9 +48,9 @@ # A database named sonar must exist and its collation must be case-sensitive (CS) and accent-sensitive (AS) # Use the following connection string if you want to use integrated security with Microsoft Sql Server # Do not set sonar.jdbc.username or sonar.jdbc.password property if you are using Integrated Security -# For Integrated Security to work, you have to download the Microsoft SQL JDBC Auth 11.2.3 package from -# https://github.com/microsoft/mssql-jdbc/releases/download/v11.2.3/mssql-jdbc_auth.zip -# and 'mssql-jdbc_auth-11.2.3.x64.dll' to your path. +# For Integrated Security to work, you have to download the Microsoft SQL JDBC Auth 12.2.0 package from +# https://github.com/microsoft/mssql-jdbc/releases/download/v12.2.0/mssql-jdbc_auth.zip +# and 'mssql-jdbc_auth-12.2.0.x64.dll' to your path. #sonar.jdbc.url=jdbc:sqlserver://localhost;databaseName=sonar;integratedSecurity=true # Use the following connection string if you want to use SQL Auth while connecting to MS Sql Server.