This article is contributed. See the original author and article here.

We have released a new early technical preview of the JDBC Driver for SQL Server which contains a few additions and changes.

 

Precompiled binaries are available on GitHub and also on Maven Central.

Below is a summary of the new additions and changes.


Added

  • Added maxResultBuffer connection property 1431
  • Added support for Azure Active Diretory Service Principal authentication 1456
  • Added support for Azure Active Directory Interactive authentication 1464

Changed

  • Enabled useBulkCopyForBatchInsert against non Azure Synapse Analytics servers #1465

Getting the latest release

The latest bits are available on our GitHub repository, and Maven Central.

Add the JDBC preview 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.1.1.jre11</version> 
</dependency> 

 

 

Help us improve the JDBC Driver by taking our survey, filing issues on GitHub or contributing to the project.


Please also check out our tutorials to get started with developing apps in your programming language of choice and SQL Server.


David Engel

Brought to you by Dr. Ware, Microsoft Office 365 Silver Partner, Charleston SC.