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.
- Added maxResultBuffer connection property 1431
- Added support for Azure Active Diretory Service Principal authentication 1456
- Added support for Azure Active Directory Interactive authentication 1464
- Enabled useBulkCopyForBatchInsert against non Azure Synapse Analytics servers #1465
Getting the latest release
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>
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.