This article is contributed. See the original author and article here.
We recently released an update to Microsoft JDBC Driver for SQL Server, version 9.2.1. The update addresses an issue with the new Azure Service Principal authentication option.
- Fixed an issue with client secret being empty during ActiveDirectoryServicePrincipal authentication in an Azure environment #1519
Getting the latest release
Add the JDBC 9.2.1 RTW driver to your Maven project by adding the following code to your POM file to include it as a dependency in your project (choose .jre8, .jre11, or .jre15 for your required Java version).
<dependency> <groupId>com.microsoft.sqlserver</groupId> <artifactId>mssql-jdbc</artifactId> <version>9.2.1.jre11</version> </dependency>
Please also check out our tutorials to get started with developing apps in your programming language of choice and SQL Server.
Brought to you by Dr. Ware, Microsoft Office 365 Silver Partner, Charleston SC.