Early technical preview of JDBC Driver 12.1.0 for SQL Server released

Posted by

This post has been republished via RSS; it originally appeared at: New blog articles in Microsoft Community Hub.

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

 

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

 

Below is a summary of the changes in 12.1.0 over version 11.2.0.

 

Added

  • Added support for access token callback 1940
  • Added support for DefaultAzureCredential 1936
  • Added support for Java 19 1929

Changed

  • Make driver Loom friendly 1931
  • Managed Identity authentication uses Azure Identity library instead 1936
  • Updated MSAL and jackson-databind versions 1947
  • Updated Azure Identity version 1941
  • Made MSAL an optional dependency 1893
  • Added FINE logging for token expiry 1875
  • Upgraded junit jupiter 1895

Fixed issues

  • Ensure that batchParamValues is cleared in all cases when executing a batch 1869
  • Fixed query cancellation bug 1897
  • Fixed callable statement index out of bounds error 1898
  • Fixed sonatype warnings 1950
  • Fixed check for DONE token when fetching result sets 1943
  • Fixed race condition in secure string utility 1948
  • Fixed attestation NONE protocol bug to work with all servers and enclave types 1942
  • Fixed signed byte comparison 1920

 

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 for Java 8 or .jre11 for Java 11 and up).

 

 

<dependency> <groupId>com.microsoft.sqlserver</groupId> <artifactId>mssql-jdbc</artifactId> <version>12.1.0.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

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.