We have released a new early technical preview of the JDBC Driver for SQL Server which improves support for Always Encrypted with enclaves along with other changes.
Precompiled binaries are available on GitHub and also on Maven Central.
Below is a summary of the new additions, changes made, and issues fixed.
Added
- Added more tests to improve code coverage for Always Encrypted with secure enclaves feature #1186
- Added certificate and enclave session caching for Always Encrypted with secure enclaves feature #1189
Fixed issues
- Fixed a potential NullPointerException in SQLServerDataColumn.equals() #1168
- Fixed an issue with BulkCopy when source is unicode char/varchar and destination is nchar/nvarchar #1193
- Fixed an issue with SQLServerDatabaseMetaData.getColumns() only returning the first column against Azure SQL Data Warehouse #1197
- Fixed an issue with SQLServerDatabaseMetaData.getImportedKeys() failing against Azure SQL Data Warehouse #1205
Changed
- Made internal model public for SQLServerSpatialDatatype class #1169
- Updated ISQLServerBulkData APIs to throw SQLException instead of SQLServerException #1187
- Changed SQLServerConnection.state to volatile #1194
- Optimized temporal datatype getter methods by replacing Calendar with LocalDatetime #1200
- Updated driver and test dependencies #1203
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 .jre13 for your required Java version).
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>8.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
Updated Dec 10, 2019
Version 1.0David-Engel
Steel Contributor
Joined May 16, 2019
SQL Server Blog
Follow this blog board to get notified when there's new activity