Skip to content

Commit 35e3da2

Browse files
authored
Merge pull request #33398 from muskan124947/jdbc-12.10.0
JDBC v12.10.0 Content Update
2 parents 6c1c0b6 + 184dcb7 commit 35e3da2

10 files changed

+146
-28
lines changed

docs/connect/jdbc/connecting-using-azure-active-directory-authentication.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Connect using Microsoft Entra authentication
33
description: Learn how to develop Java applications that use the Microsoft Entra authentication feature with the Microsoft JDBC Driver for SQL Server.
44
author: David-Engel
55
ms.author: davidengel
6-
ms.date: 08/29/2024
6+
ms.date: 03/17/2025
77
ms.service: sql
88
ms.subservice: connectivity
99
ms.topic: conceptual
@@ -82,6 +82,7 @@ The following table lists required library dependencies for each authentication
8282
| `ActiveDirectoryManagedIdentity`<br/>`ActiveDirectoryMSI`<br/>`ActiveDirectoryDefault` | 12.6.4 | `azure-identity` 1.12.2 |
8383
| `ActiveDirectoryPassword`<br/>`ActiveDirectoryIntegrated`<br/>`ActiveDirectoryInteractive`<br/>`ActiveDirectoryServicePrincipal`<br/>`ActiveDirectoryServicePrincipalCertificate` | 12.8 | `msal4j` 1.15.1 |
8484
| `ActiveDirectoryManagedIdentity`<br/>`ActiveDirectoryMSI`<br/>`ActiveDirectoryDefault` | 12.8 | `azure-identity` 1.12.2 |
85+
| `ActiveDirectoryPassword`<br/>`ActiveDirectoryIntegrated`<br/>`ActiveDirectoryInteractive`<br/>`ActiveDirectoryServicePrincipal`<br/>`ActiveDirectoryServicePrincipalCertificate`<br/>`ActiveDirectoryManagedIdentity`<br/>`ActiveDirectoryMSI`<br/>`ActiveDirectoryDefault` | 12.10 | `azure-identity` 1.15.3 |
8586

8687
## Connect using ActiveDirectoryManagedIdentity authentication mode
8788

@@ -95,7 +96,7 @@ In addition to the library dependency requirements listed in [Client setup requi
9596
| Driver version | Required dependencies | Azure services supported |
9697
|----------------|------------------------|--------------|
9798
| 7.2 - 11.2 | None | [Azure App Service and Azure Functions](/azure/app-service/overview-managed-identity)<br/>[Azure Virtual Machines](/azure/active-directory/managed-identities-azure-resources/how-to-use-vm-token) |
98-
| 12.2<br/>12.4<br/>12.6<br/>12.8 | [azure-identity 1.7.0](https://azuresdkdocs.blob.core.windows.net/$web/java/azure-identity/1.7.0/index.html#managed-identity-support)<br/>[azure-identity 1.9.0](https://azuresdkdocs.blob.core.windows.net/$web/java/azure-identity/1.9.0/index.html#managed-identity-support)<br/>[azure-identity 1.11.1](https://azuresdkdocs.blob.core.windows.net/$web/java/azure-identity/1.11.1/index.html#managed-identity-support)<br/>[azure-identity 1.12.2](https://azuresdkdocs.blob.core.windows.net/$web/java/azure-identity/1.12.2/index.html#managed-identity-support) | [Azure App Service and Azure Functions](/azure/app-service/overview-managed-identity)<br/>[Azure Arc](/azure/azure-arc/servers/managed-identity-authentication)<br/>[Azure Cloud Shell](/azure/cloud-shell/msi-authorization)<br/>[Azure Kubernetes Service](/azure/aks/use-managed-identity)<br/>[Azure Service Fabric](/azure/service-fabric/concepts-managed-identity)<br/>[Azure Virtual Machines](/azure/active-directory/managed-identities-azure-resources/how-to-use-vm-token)<br/>[Azure Virtual Machines Scale Sets](/azure/active-directory/managed-identities-azure-resources/qs-configure-powershell-windows-vmss) |
99+
| 12.2<br/>12.4<br/>12.6<br/>12.8<br/>12.10 | `azure-identity` 1.7.0<br/>`azure-identity` 1.9.0<br/>`azure-identity` 1.11.1<br/>`azure-identity` 1.12.2<br/>`azure-identity` 1.15.3 | [Azure App Service and Azure Functions](/azure/app-service/overview-managed-identity)<br/>[Azure Arc](/azure/azure-arc/servers/managed-identity-authentication)<br/>[Azure Cloud Shell](/azure/cloud-shell/msi-authorization)<br/>[Azure Kubernetes Service](/azure/aks/use-managed-identity)<br/>[Azure Service Fabric](/azure/service-fabric/concepts-managed-identity)<br/>[Azure Virtual Machines](/azure/active-directory/managed-identities-azure-resources/how-to-use-vm-token)<br/>[Azure Virtual Machines Scale Sets](/azure/active-directory/managed-identities-azure-resources/qs-configure-powershell-windows-vmss) |
99100

100101
The following example shows how to use `authentication=ActiveDirectoryManagedIdentity` mode. Run this example from inside an Azure Resource that is configured for Managed Identity.
101102

@@ -182,12 +183,13 @@ The `ActiveDirectoryDefault` authentication option uses the Azure Identity clien
182183

183184
The following table lists the `DefaultAzureCredential` credential chain for each JDBC driver version.
184185

185-
| Driver version | azure-identity version docs | `DefaultAzureCredential` chain |
186+
| Driver version | azure-identity version | `DefaultAzureCredential` chain |
186187
|----------------|------------------------|--------------|
187-
| 12.2 | [azure-identity 1.7.0](https://azuresdkdocs.blob.core.windows.net/$web/java/azure-identity/1.7.0/index.html#defaultazurecredential) | Environment<br/>Managed Identity<br/>IntelliJ<br/>Azure CLI<br/>Azure PowerShell |
188-
| 12.4 | [azure-identity 1.9.0](https://azuresdkdocs.blob.core.windows.net/$web/java/azure-identity/1.9.0/index.html#defaultazurecredential) | Environment<br/>Workload Identity<br/>Managed Identity<br/>Azure Developer CLI<br/>IntelliJ<br/>Azure CLI<br/>Azure PowerShell |
189-
| 12.6 | [azure-identity 1.11.1](https://azuresdkdocs.blob.core.windows.net/$web/java/azure-identity/1.11.1/index.html#defaultazurecredential) | Environment<br/>Workload Identity<br/>Managed Identity<br/>Azure Developer CLI<br/>IntelliJ<br/>Azure CLI<br/>Azure PowerShell |
190-
| 12.8 | [azure-identity 1.12.2](https://azuresdkdocs.blob.core.windows.net/$web/java/azure-identity/1.12.2/index.html#defaultazurecredential) | Environment<br/>Workload Identity<br/>Managed Identity<br/>Azure Developer CLI<br/>IntelliJ<br/>Azure CLI<br/>Azure PowerShell |
188+
| 12.2 | `azure-identity` 1.7.0 | Environment<br/>Managed Identity<br/>IntelliJ<br/>Azure CLI<br/>Azure PowerShell |
189+
| 12.4 | `azure-identity` 1.9.0 | Environment<br/>Workload Identity<br/>Managed Identity<br/>Azure Developer CLI<br/>IntelliJ<br/>Azure CLI<br/>Azure PowerShell |
190+
| 12.6 | `azure-identity` 1.11.1 | Environment<br/>Workload Identity<br/>Managed Identity<br/>Azure Developer CLI<br/>IntelliJ<br/>Azure CLI<br/>Azure PowerShell |
191+
| 12.8 | `azure-identity` 1.12.2 | Environment<br/>Workload Identity<br/>Managed Identity<br/>Azure Developer CLI<br/>IntelliJ<br/>Azure CLI<br/>Azure PowerShell |
192+
| 12.10 | `azure-identity` 1.15.3 | Environment<br/>Workload Identity<br/>Managed Identity<br/>Azure Developer CLI<br/>IntelliJ<br/>Azure CLI<br/>Azure PowerShell |
191193

192194
There are many variables that can be set to configure the `Environment` credential. For details on configuring the `DefaultAzureCredential` chain, including the `Environment` credential, see the relevant version of the azure-identity docs linked in the previous table.
193195

docs/connect/jdbc/download-microsoft-jdbc-driver-for-sql-server.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Download
33
description: Download the Microsoft JDBC Driver for SQL Server to develop Java applications that connect to SQL Server and Azure SQL Database.
44
author: David-Engel
55
ms.author: davidengel
6-
ms.date: 08/22/2024
6+
ms.date: 03/17/2025
77
ms.service: sql
88
ms.subservice: connectivity
99
ms.topic: conceptual
@@ -14,15 +14,15 @@ The Microsoft JDBC Driver for SQL Server is a Type 4 JDBC driver that provides d
1414

1515
## Download
1616

17-
Version 12.8 is the latest general availability (GA) version. It supports Java 8, 11, 17, 21, and 22. If you need to use an older Java runtime, see the [Java and JDBC specification support matrix](microsoft-jdbc-driver-for-sql-server-support-matrix.md#java-and-jdbc-specification-support) to see if there's a supported driver version you can use. We're continually improving Java connectivity support. As such we highly recommend that you work with the latest version of Microsoft JDBC driver.
17+
Version 12.10 is the latest general availability (GA) version. It supports Java 8, 11, 17, 21 and 23. If you need to use an older Java runtime, see the [Java and JDBC specification support matrix](microsoft-jdbc-driver-for-sql-server-support-matrix.md#java-and-jdbc-specification-support) to see if there's a supported driver version you can use. We're continually improving Java connectivity support. As such we highly recommend that you work with the latest version of Microsoft JDBC driver.
1818

19-
:::image type="icon" source="../../includes/media/download.svg" border="false"::: **[Download Microsoft JDBC Driver 12.8 for SQL Server (zip)](https://go.microsoft.com/fwlink/?linkid=2283744)**
20-
:::image type="icon" source="../../includes/media/download.svg" border="false"::: **[Download Microsoft JDBC Driver 12.8 for SQL Server (tar.gz)](https://go.microsoft.com/fwlink/?linkid=2283563)**
19+
:::image type="icon" source="../../includes/media/download.svg" border="false"::: **[Download Microsoft JDBC Driver 12.10 for SQL Server (zip)](https://go.microsoft.com/fwlink/?linkid=2310306)**
20+
:::image type="icon" source="../../includes/media/download.svg" border="false"::: **[Download Microsoft JDBC Driver 12.10 for SQL Server (tar.gz)](https://go.microsoft.com/fwlink/?linkid=2310307)**
2121

2222
### Version information
2323

24-
- Release number: 12.8.1
25-
- Released: August 22, 2024
24+
- Release number: 12.10.0
25+
- Released: March 17, 2025
2626

2727
When you download the driver, there are multiple JAR files. The JAR file with `jre8` supports Java 8 and the JAR file with `jre11` supports Java 11 and up.
2828

@@ -33,11 +33,11 @@ When you download the driver, there are multiple JAR files. The JAR file with `j
3333

3434
This release of Microsoft JDBC Driver for SQL Server is available in the following languages:
3535

36-
Microsoft JDBC Driver 12.8.1 for SQL Server (zip):
37-
[Chinese (Simplified)](https://go.microsoft.com/fwlink/?linkid=2283744&clcid=0x804) | [Chinese (Traditional)](https://go.microsoft.com/fwlink/?linkid=2283744&clcid=0x404) | [English (United States)](https://go.microsoft.com/fwlink/?linkid=2283744&clcid=0x409) | [French](https://go.microsoft.com/fwlink/?linkid=2283744&clcid=0x40c) | [German](https://go.microsoft.com/fwlink/?linkid=2283744&clcid=0x407) | [Italian](https://go.microsoft.com/fwlink/?linkid=2283744&clcid=0x410) | [Japanese](https://go.microsoft.com/fwlink/?linkid=2283744&clcid=0x411) | [Korean](https://go.microsoft.com/fwlink/?linkid=2283744&clcid=0x412) | [Portuguese (Brazil)](https://go.microsoft.com/fwlink/?linkid=2283744&clcid=0x416) | [Russian](https://go.microsoft.com/fwlink/?linkid=2283744&clcid=0x419) | [Spanish](https://go.microsoft.com/fwlink/?linkid=2283744&clcid=0x40a)
36+
Microsoft JDBC Driver 12.10.0 for SQL Server (zip):
37+
[Chinese (Simplified)](https://go.microsoft.com/fwlink/?linkid=2310306&clcid=0x804) | [Chinese (Traditional)](https://go.microsoft.com/fwlink/?linkid=2310306&clcid=0x404) | [English (United States)](https://go.microsoft.com/fwlink/?linkid=2310306&clcid=0x409) | [French](https://go.microsoft.com/fwlink/?linkid=2310306&clcid=0x40c) | [German](https://go.microsoft.com/fwlink/?linkid=2310306&clcid=0x407) | [Italian](https://go.microsoft.com/fwlink/?linkid=2310306&clcid=0x410) | [Japanese](https://go.microsoft.com/fwlink/?linkid=2310306&clcid=0x411) | [Korean](https://go.microsoft.com/fwlink/?linkid=2310306&clcid=0x412) | [Portuguese (Brazil)](https://go.microsoft.com/fwlink/?linkid=2310306&clcid=0x416) | [Russian](https://go.microsoft.com/fwlink/?linkid=2310306&clcid=0x419) | [Spanish](https://go.microsoft.com/fwlink/?linkid=2310306&clcid=0x40a)
3838

39-
Microsoft JDBC Driver 12.8.1 for SQL Server (tar.gz):
40-
[Chinese (Simplified)](https://go.microsoft.com/fwlink/?linkid=2283563&clcid=0x804) | [Chinese (Traditional)](https://go.microsoft.com/fwlink/?linkid=2283563&clcid=0x404) | [English (United States)](https://go.microsoft.com/fwlink/?linkid=2283563&clcid=0x409) | [French](https://go.microsoft.com/fwlink/?linkid=2283563&clcid=0x40c) | [German](https://go.microsoft.com/fwlink/?linkid=2283563&clcid=0x407) | [Italian](https://go.microsoft.com/fwlink/?linkid=2283563&clcid=0x410) | [Japanese](https://go.microsoft.com/fwlink/?linkid=2283563&clcid=0x411) | [Korean](https://go.microsoft.com/fwlink/?linkid=2283563&clcid=0x412) | [Portuguese (Brazil)](https://go.microsoft.com/fwlink/?linkid=2283563&clcid=0x416) | [Russian](https://go.microsoft.com/fwlink/?linkid=2283563&clcid=0x419) | [Spanish](https://go.microsoft.com/fwlink/?linkid=2283563&clcid=0x40a)
39+
Microsoft JDBC Driver 12.10.0 for SQL Server (tar.gz):
40+
[Chinese (Simplified)](https://go.microsoft.com/fwlink/?linkid=2310307&clcid=0x804) | [Chinese (Traditional)](https://go.microsoft.com/fwlink/?linkid=2310307&clcid=0x404) | [English (United States)](https://go.microsoft.com/fwlink/?linkid=2310307&clcid=0x409) | [French](https://go.microsoft.com/fwlink/?linkid=2310307&clcid=0x40c) | [German](https://go.microsoft.com/fwlink/?linkid=2310307&clcid=0x407) | [Italian](https://go.microsoft.com/fwlink/?linkid=2310307&clcid=0x410) | [Japanese](https://go.microsoft.com/fwlink/?linkid=2310307&clcid=0x411) | [Korean](https://go.microsoft.com/fwlink/?linkid=2310307&clcid=0x412) | [Portuguese (Brazil)](https://go.microsoft.com/fwlink/?linkid=2310307&clcid=0x416) | [Russian](https://go.microsoft.com/fwlink/?linkid=2310307&clcid=0x419) | [Spanish](https://go.microsoft.com/fwlink/?linkid=2310307&clcid=0x40a)
4141

4242
### Release notes
4343

@@ -55,7 +55,7 @@ The JDBC driver can be added to a Maven project by adding it as a dependency in
5555
<dependency>
5656
<groupId>com.microsoft.sqlserver</groupId>
5757
<artifactId>mssql-jdbc</artifactId>
58-
<version>12.8.1.jre11</version>
58+
<version>12.10.0.jre11</version>
5959
</dependency>
6060
```
6161

docs/connect/jdbc/feature-dependencies-of-microsoft-jdbc-driver-for-sql-server.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Feature dependencies
33
description: Learn about the dependencies that the Microsoft JDBC Driver for SQL Server has and how to meet them.
44
author: David-Engel
55
ms.author: davidengel
6-
ms.date: 07/31/2024
6+
ms.date: 03/17/2025
77
ms.service: sql
88
ms.subservice: connectivity
99
ms.topic: conceptual
@@ -126,6 +126,7 @@ If you're using Maven to build or test your project, Maven automatically downloa
126126

127127
### Work with the Azure Key Vault provider
128128

129+
- JDBC driver version 12.10.0—Dependency versions: Azure-security-keyvault-keys (version 4.9.2), and Azure-identity (version 1.15.3), and their dependencies ([sample application](azure-key-vault-sample-version-9.2.md))
129130
- JDBC driver version 12.8.0—Dependency versions: Azure-security-keyvault-keys (version 4.7.3), and Azure-identity (version 1.12.2), and their dependencies ([sample application](azure-key-vault-sample-version-9.2.md))
130131
- JDBC driver version 12.6.0—Dependency versions: Azure-security-keyvault-keys (version 4.7.3), and Azure-identity (version 1.11.1), and their dependencies ([sample application](azure-key-vault-sample-version-9.2.md))
131132
- JDBC driver version 12.4.0—Dependency versions: Azure-security-keyvault-keys (version 4.6.1), and Azure-identity (version 1.9.0), and their dependencies ([sample application](azure-key-vault-sample-version-9.2.md))
@@ -152,6 +153,7 @@ If you're using Maven to build or test your project, Maven automatically downloa
152153

153154
### Work with Microsoft Entra authentication
154155

156+
- JDBC driver version 12.10.0—Dependency versions: Azure-identity (version 1.15.3), and its dependencies.
155157
- JDBC driver version 12.8.0—Dependency versions: Azure-identity (version 1.12.2), `Msal4j` (version 1.15.1), and their dependencies.
156158
- JDBC driver version 12.6.0—Dependency versions: Azure-identity (version 1.11.1), `Msal4j` (version 1.14.1), and their dependencies.
157159
- JDBC driver version 12.4.0—Dependency versions: Azure-identity (version 1.9.0), `Msal4j` (version 1.13.8), and their dependencies.

docs/connect/jdbc/frequently-asked-questions-faq-for-jdbc-driver.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ metadata:
33
title: Frequently asked questions (FAQ)
44
description: This page provides answers to frequently asked questions about the Microsoft JDBC Driver for SQL Server.
55
ms.custom: ""
6-
ms.date: 07/31/2024
6+
ms.date: 03/17/2025
77
ms.service: sql
88
ms.prod_service: connectivity
99
ms.reviewer: ""
@@ -35,6 +35,14 @@ sections:
3535
The JDBC driver files available on the GitHub repository for the Microsoft JDBC driver are the core of the JDBC driver and are under the open-source license listed in the repository. The driver packages on the [Microsoft download page](download-microsoft-jdbc-driver-for-sql-server.md) include other libraries for Windows-integrated authentication and enabling XA transactions with the JDBC driver. Those other libraries are under the license included with the downloadable package.
3636
3737
**What should I know to upgrade my driver?**
38+
The Microsoft JDBC Driver 12.10 supports the JDBC 4.2, and 4.3 (partially) specifications and includes two JAR class libraries in the installation package as follows:
39+
40+
| JAR | JDBC Specification | JDK Version |
41+
| -------------------------- | ----------------------------- | ----------- |
42+
| mssql-jdbc-12.10.0.jre11.jar | JDBC 4.3 (partially), and 4.2 | JDK 11.0+ |
43+
| mssql-jdbc-12.10.0.jre8.jar | JDBC 4.2 | JDK 8.0 |
44+
| &nbsp; | &nbsp; | &nbsp; |
45+
3846
The Microsoft JDBC Driver 12.8 supports the JDBC 4.2, and 4.3 (partially) specifications and includes two JAR class libraries in the installation package as follows:
3947
4048
| JAR | JDBC Specification | JDK Version |

docs/connect/jdbc/microsoft-jdbc-driver-for-sql-server-support-matrix.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: This page contains the support matrix and support life-cycle policy
44
author: David-Engel
55
ms.author: davidengel
66
ms.reviewer: randolphwest
7-
ms.date: 07/31/2024
7+
ms.date: 03/17/2025
88
ms.service: sql
99
ms.subservice: connectivity
1010
ms.topic: conceptual
@@ -25,6 +25,7 @@ The following Microsoft JDBC Drivers are supported, until the indicated End of S
2525

2626
|Driver Name|Driver Package Version|Applicable JARs|End of Mainstream Support|
2727
|-|-|-|-|
28+
|Microsoft JDBC Driver 12.10 for SQL Server|12.10|mssql-jdbc-12.10.0.jre11.jar<br> mssql-jdbc-12.10.0.jre8.jar|January 31, 2030|
2829
|Microsoft JDBC Driver 12.8 for SQL Server|12.8|mssql-jdbc-12.8.0.jre11.jar<br> mssql-jdbc-12.8.0.jre8.jar|July 31, 2029|
2930
|Microsoft JDBC Driver 12.6 for SQL Server|12.6|mssql-jdbc-12.6.0.jre11.jar<br> mssql-jdbc-12.6.0.jre8.jar|January 31, 2029|
3031
|Microsoft JDBC Driver 12.4 for SQL Server|12.4|mssql-jdbc-12.4.0.jre11.jar<br> mssql-jdbc-12.4.0.jre8.jar|July 31, 2028|
@@ -60,6 +61,7 @@ The following Microsoft JDBC Drivers are supported, until the indicated End of S
6061

6162
|Database version&nbsp;&#8594;<br />&#8595; Driver Version|Azure SQL Database|Azure Synapse Analytics|Azure SQL Managed Instance|SQL Server 2022|SQL Server 2019|SQL Server 2017|SQL Server 2016|SQL Server 2014|SQL Server 2012|PDW 2008R2 AU3<sup>4</sup>|SQL Server 2008 R2|SQL Server 2008|
6263
|---|---|---|---|---|---|---|---|---|---|---|---|---|
64+
|12.10|Yes|Yes|Yes|Yes|Yes|Yes|Yes| | | | | |
6365
|12.8|Yes|Yes|Yes|Yes|Yes|Yes|Yes| | | | | |
6466
|12.6|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes| | | | |
6567
|12.4|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes| | | | |
@@ -98,6 +100,7 @@ The following Microsoft JDBC Drivers are supported, until the indicated End of S
98100

99101
|JDBC Driver Version|JRE Versions|JDBC API Version|
100102
|-|-|-|
103+
|[12.10](release-notes-for-the-jdbc-driver.md#130)|1.8, 11, 17, 21, 23|4.2, 4.3 (partially)|
101104
|[12.8](release-notes-for-the-jdbc-driver.md#128)|1.8, 11, 17, 21, 22|4.2, 4.3 (partially)|
102105
|[12.6](release-notes-for-the-jdbc-driver.md#126)|1.8, 11, 17, 21|4.2, 4.3 (partially)|
103106
|[12.4](release-notes-for-the-jdbc-driver.md#124)|1.8, 11, 17, 20|4.2, 4.3 (partially)|

0 commit comments

Comments
 (0)