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 11.1.2 over version 11.1.1.
Added
- Added support for caching managed identity tokens 1825
- Added support for caching Always Encrypted parameter metadata 1845
Changed
- Switched from strings to char arrays for secure string use 1813
- Added check for negotiated ALPN 1818
Fixed
-
Fixed double connection issue when enabling TDS 8.0 and SSL by reusing original socket connection 1817
-
Fixed unknown token error 0xA3 when selectMethod cursor is used with data classification 1821
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, .jre17, or .jre18 for your required Java version).
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>11.1.2.jre17</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