You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/connect/jdbc/download-microsoft-jdbc-driver-for-sql-server.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Download
3
3
description: Download the Microsoft JDBC Driver for SQL Server to develop Java applications that connect to SQL Server and Azure SQL Database.
4
4
author: David-Engel
5
5
ms.author: davidengel
6
-
ms.date: 10/13/2025
6
+
ms.date: 03/13/2026
7
7
ms.service: sql
8
8
ms.subservice: connectivity
9
9
ms.topic: concept-article
@@ -14,15 +14,15 @@ The Microsoft JDBC Driver for SQL Server is a Type 4 JDBC driver that provides d
14
14
15
15
## Download
16
16
17
-
Version 13.2 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.
17
+
Version 13.4 is the latest general availability (GA) version. It supports Java 8, 11, 17, 21 and 25. 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.
18
18
19
-
:::image type="icon" source="../../includes/media/download.svg" border="false"::: **[Download Microsoft JDBC Driver 13.2.1 for SQL Server (zip)](https://go.microsoft.com/fwlink/?linkid=2338346)**
20
-
:::image type="icon" source="../../includes/media/download.svg" border="false"::: **[Download Microsoft JDBC Driver 13.2.1 for SQL Server (tar.gz)](https://go.microsoft.com/fwlink/?linkid=2338543)**
19
+
:::image type="icon" source="../../includes/media/download.svg" border="false"::: **[Download Microsoft JDBC Driver 13.4.0 for SQL Server (zip)](https://go.microsoft.com/fwlink/?linkid=2356503)**
20
+
:::image type="icon" source="../../includes/media/download.svg" border="false"::: **[Download Microsoft JDBC Driver 13.4.0 for SQL Server (tar.gz)](https://go.microsoft.com/fwlink/?linkid=2356504)**
21
21
22
22
### Version information
23
23
24
-
- Release number: 13.2.1
25
-
- Released: October 13, 2025
24
+
- Release number: 13.4.0
25
+
- Released: March 13, 2026
26
26
27
27
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.
28
28
@@ -33,11 +33,11 @@ When you download the driver, there are multiple JAR files. The JAR file with `j
33
33
34
34
This release of Microsoft JDBC Driver for SQL Server is available in the following languages:
35
35
36
-
Microsoft JDBC Driver 13.2.1 for SQL Server (zip):
Copy file name to clipboardExpand all lines: docs/connect/jdbc/feature-dependencies-of-microsoft-jdbc-driver-for-sql-server.md
+15-1Lines changed: 15 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Feature dependencies
3
3
description: Learn about the dependencies that the Microsoft JDBC Driver for SQL Server has and how to meet them.
4
4
author: David-Engel
5
5
ms.author: davidengel
6
-
ms.date: 03/17/2025
6
+
ms.date: 03/13/2026
7
7
ms.service: sql
8
8
ms.subservice: connectivity
9
9
ms.topic: concept-article
@@ -126,6 +126,8 @@ If you're using Maven to build or test your project, Maven automatically downloa
126
126
127
127
### Work with the Azure Key Vault provider
128
128
129
+
- JDBC driver version 13.4.0—Dependency versions: Azure-security-keyvault-keys (version 4.10.5), and Azure-identity (version 1.18.2), and their dependencies ([sample application](azure-key-vault-sample-version-9.2.md))
130
+
- JDBC driver version 13.2.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))
129
131
- 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))
130
132
- 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))
131
133
- 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))
@@ -153,6 +155,8 @@ If you're using Maven to build or test your project, Maven automatically downloa
153
155
154
156
### Work with Microsoft Entra authentication
155
157
158
+
- JDBC driver version 13.4.0—Dependency versions: Azure-identity (version 1.18.2), and its dependencies.
159
+
- JDBC driver version 13.2.0—Dependency versions: Azure-identity (version 1.15.3), and its dependencies.
156
160
- JDBC driver version 12.10.0—Dependency versions: Azure-identity (version 1.15.3), and its dependencies.
157
161
- JDBC driver version 12.8.0—Dependency versions: Azure-identity (version 1.12.2), `Msal4j` (version 1.15.1), and their dependencies.
158
162
- JDBC driver version 12.6.0—Dependency versions: Azure-identity (version 1.11.1), `Msal4j` (version 1.14.1), and their dependencies.
@@ -179,6 +183,16 @@ From driver version 8.2.2 onward, `sqljdbc_auth.dll` is renamed to `mssql-jdbc_a
179
183
180
184
In addition to the **mssql-jdbc_auth-\<version>-\<arch>.dll** (available in the JDBC driver package), the Azure Active Directory Authentication Library (**ADAL.DLL**) also must be installed for Active Directory Integrated authentication. Microsoft Azure Active Directory Authentication Library can be installed from [Microsoft ODBC Driver for SQL Server](../odbc/download-odbc-driver-for-sql-server.md) or [Microsoft OLE DB Driver for SQL Server](../oledb/download-oledb-driver-for-sql-server.md). The JDBC driver only supports version **1.0.2028.318 and higher** for ADAL.DLL.
181
185
186
+
(Version 13.4+) The legacy ADAL dependency (`adalsql.dll`/`adal.dll`) has been fully removed. **Authentication=ActiveDirectoryIntegrated** now uses `mssql-auth.dll`, a component installed by the latest Microsoft ODBC Driver 18 for SQL Server and Microsoft OLE DB Driver 19 for SQL Server.
187
+
188
+
If you receive the following error, install the library from [Microsoft ODBC Driver for SQL Server](../odbc/download-odbc-driver-for-sql-server.md) or [Microsoft OLE DB Driver for SQL Server](../oledb/download-oledb-driver-for-sql-server.md):
189
+
190
+
```output
191
+
Unable to load mssql-auth.dll. Error code: 0x7e.
192
+
For more information, see:
193
+
https://go.microsoft.com/fwlink/?LinkID=513072
194
+
```
195
+
182
196
You can get a [sample application](connecting-using-azure-active-directory-authentication.md) that uses this feature.
Copy file name to clipboardExpand all lines: docs/connect/jdbc/improving-performance-and-reliability-with-the-jdbc-driver.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Improving performance and reliability
3
3
description: Learn about various techniques for improving application performance and reliability when using the Microsoft JDBC driver for SQL Server.
4
4
author: David-Engel
5
5
ms.author: davidengel
6
-
ms.date: 12/18/2025
6
+
ms.date: 03/13/2026
7
7
ms.service: sql
8
8
ms.subservice: connectivity
9
9
ms.topic: concept-article
@@ -31,6 +31,7 @@ The articles in this section describe various techniques for improving applicati
31
31
|[Prepared statement parameter performance](prepared-statement-parameter-performance.md)|Discusses practices and settings to consider when using prepared statements.|
32
32
|[Using bulk copy API for batch insert operation](use-bulk-copy-api-batch-insert-operation.md)|Describes how to enable Bulk Copy API for batch insert operations and its benefits.|
33
33
|[Not sending String parameters as Unicode](setting-the-connection-properties.md)|When you're working with **CHAR**, **VARCHAR**, and **LONGVARCHAR** data, set the connection property **sendStringParametersAsUnicode** to `false` for optimal performance gain.|
34
+
|[Performance Logger and callback](performance-logger-callback.md)|Describes how to use the performance logging framework and callback infrastructure to track execution timing for critical driver operations such as connections, prelogin, login, and token acquisition.|
The following Microsoft JDBC Drivers are no longer supported.
39
38
40
39
|Driver Name|Driver Package Version|End of Mainstream Support|
41
40
|-|-|-|
41
+
|Microsoft JDBC Driver 9.2 for SQL Server|9.2|January 29, 2026|
42
42
|Microsoft JDBC Driver 8.4 for SQL Server|8.4|July 31, 2025|
43
43
|Microsoft JDBC Driver 8.2 for SQL Server|8.2|January 31, 2025|
44
44
|Microsoft JDBC Driver 7.4 for SQL Server|7.4|July 31, 2024|
@@ -63,53 +63,26 @@ Microsoft JDBC Driver for SQL Server defines external dependencies in its Maven
63
63
64
64
## SQL version compatibility
65
65
66
-
|Database version →<br />↓ 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|
67
-
|---|---|---|---|---|---|---|---|---|---|
68
-
|13.2|Yes|Yes|Yes|Yes|Yes|Yes|Yes|||
69
-
|12.10|Yes|Yes|Yes|Yes|Yes|Yes|Yes|||
70
-
|12.8|Yes|Yes|Yes|Yes|Yes|Yes|Yes|||
71
-
|12.6|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes||
72
-
|12.4|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes||
73
-
|12.2|Yes|Yes|Yes|Yes|Yes|Yes|Yes|Yes||
74
-
|11.2|Yes|Yes|Yes||Yes|Yes|Yes|Yes||
75
-
|10.2|Yes|Yes|Yes||Yes|Yes|Yes|Yes|Yes|
76
-
| 9.4|Yes|Yes|Yes||Yes|Yes|Yes|Yes|Yes|
77
-
| 9.2|Yes|Yes|Yes||Yes|Yes|Yes|Yes|Yes|
78
-
79
-
|Database version →<br />↓ 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|
<sup>1</sup> Microsoft SQL Server JDBC Driver version 3.0 can connect to SQL Server 2012 as a down-level client.
98
-
99
-
<sup>2</sup> Support for Azure SQL Database was introduced in the 3.0 driver as a hotfix. We recommend that Azure SQL Database customers use the latest driver version available.
100
-
101
-
<sup>3</sup> Microsoft SQL Server JDBC Driver version 2.0 and Microsoft SQL Server 2005 JDBC Driver version 1.2 can connect to SQL Server 2008 as a down-level client. When down-level conversions are allowed, applications can execute queries and perform updates on the new SQL Server 2008 data types, such as time, date, datetime2, datetimeoffset, and FILESTREAM. For more information about how to use these new data types with the JDBC driver, see [Working with SQL Server 2008 Date/Time Data Types using JDBC Driver](/archive/blogs/jdbcteam/) and [Working with SQL Server 2008 FileStream using JDBC Driver](/archive/blogs/jdbcteam/). For more information about the down-level compatibility of these new data types, see [Using Date and Time Data](/previous-versions/sql/sql-server-2008-r2/ms180878(v=sql.105)) and [FILESTREAM Support](../../relational-databases/native-client/features/filestream-support.md) articles in SQL Server Books Online.
102
-
103
-
<sup>4</sup> Support for connections between the Microsoft JDBC Driver and Parallel Data Warehouse was first introduced in the Microsoft JDBC Driver 4.0 for SQL Server and Microsoft SQL Server 2008 R2 Parallel Data Warehouse Appliance Update 3.
104
-
105
-
<sup>5</sup> Microsoft SQL Server JDBC Driver version 3.0 can connect to SQL Server 2014 as a down-level client.
66
+
All currently supported JDBC driver versions (9.4 and later) support all supported versions of Microsoft SQL, including:
67
+
68
+
- Microsoft SQL Server
69
+
- Azure SQL Database
70
+
- Azure Synapse Analytics
71
+
- Azure SQL Managed Instance
72
+
- SQL database in Microsoft Fabric
73
+
- Microsoft Fabric Data Warehouse
74
+
75
+
Feature support is separate from compatibility with server versions. For details on feature support, see the [Driver Feature Support Matrix](../driver-feature-matrix.md#table2) or the release notes for each driver version.
76
+
77
+
For the best experience, use the latest JDBC driver.
106
78
107
79
## Java and JDBC specification support
108
80
109
81
|JDBC Driver Version|JRE Versions|JDBC API Version|
0 commit comments