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/feature-dependencies-of-microsoft-jdbc-driver-for-sql-server.md
+41-1Lines changed: 41 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
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
ms.custom: ""
5
-
ms.date: "04/29/2021"
5
+
ms.date: 08/27/2021
6
6
ms.prod: sql
7
7
ms.prod_service: connectivity
8
8
ms.reviewer: ""
@@ -32,6 +32,22 @@ This article lists libraries that the Microsoft JDBC Driver for SQL Server depen
32
32
33
33
Projects that require any of the preceding features need to explicitly declare the respective dependencies in their POM file that match the dependencies of the version of the driver used.
34
34
35
+
**For example:** If you're using the Azure Active Directory Authentication feature with JDBC driver version 9.4.0 and above, you need to declare the `azure-identity` dependency in your project's POM file. See the following snippet:
36
+
37
+
```xml
38
+
<dependency>
39
+
<groupId>com.microsoft.sqlserver</groupId>
40
+
<artifactId>mssql-jdbc</artifactId>
41
+
<version>9.4.0.jre11</version>
42
+
</dependency>
43
+
44
+
<dependency>
45
+
<groupId>com.azure</groupId>
46
+
<artifactId>azure-identity</artifactId>
47
+
<version>1.3.3</version>
48
+
</dependency>
49
+
```
50
+
35
51
**For example:** If you're using the Azure Active Directory Authentication feature with JDBC driver version 9.2.1 and above, you need to declare the `azure-identity` dependency in your project's POM file. See the following snippet:
36
52
37
53
```xml
@@ -70,6 +86,28 @@ Projects that require any of the preceding features need to explicitly declare t
70
86
</dependency>
71
87
```
72
88
89
+
**For example:** If you're using the Azure Key Vault feature with JDBC driver version 9.4.0 and above, you need to declare the `azure-security-keyvault-keys` and `azure-identity` dependencies in your project's POM file. See the following snippet:
**For example:** If you're using the Azure Key Vault feature with JDBC driver version 9.2.1 and above, you need to declare the `azure-security-keyvault-keys` and `azure-identity` dependencies in your project's POM file. See the following snippet:
74
112
75
113
```xml
@@ -129,6 +167,7 @@ If you're using Maven to build or test your project, Maven will automatically do
129
167
130
168
### Working with the Azure Key Vault provider
131
169
170
+
- JDBC driver version 9.4.0 - Dependency versions: Azure-security-keyvault-keys (version 4.2.8), and Azure-identity(version 1.3.3), and their dependencies ([sample application](azure-key-vault-sample-version-9.2.md))
132
171
- JDBC driver version 9.2.1 - Dependency versions: Azure-security-keyvault-keys (version 4.2.1), and Azure-identity(version 1.1.3), and their dependencies ([sample application](azure-key-vault-sample-version-9.2.md))
133
172
- JDBC driver version 8.4.1 - Dependency versions: Azure-Keyvault (version 1.2.4), Adal4j (version 1.6.5), Client-Runtime-for-AutoRest (1.7.4), and their dependencies ([sample application](azure-key-vault-sample-version-7.0.md))
134
173
- JDBC driver version 8.2.2 - Dependency versions: Azure-Keyvault (version 1.2.2), Adal4j (version 1.6.4), Client-Runtime-for-AutoRest (1.7.0), and their dependencies ([sample application](azure-key-vault-sample-version-7.0.md))
@@ -146,6 +185,7 @@ If you're using Maven to build or test your project, Maven will automatically do
146
185
147
186
### Working with Azure Active Directory authentication
148
187
188
+
- JDBC driver version 9.4.0 - Dependency versions: Azure-identity(version 1.3.3), and their dependencies.
149
189
- JDBC driver version 9.2.1 - Dependency versions: Azure-identity(version 1.1.3), and their dependencies.
150
190
- JDBC Driver version 8.4.1 - Dependency versions: Adal4j (version 1.6.5), Client-Runtime-for-AutoRest (1.7.4), and their dependencies.
151
191
- JDBC Driver version 8.2.2 - Dependency versions: Adal4j (version 1.6.4), Client-Runtime-for-AutoRest (1.7.0), and their dependencies. In this version of the driver, 'sqljdbc_auth.dll' has been renamed to 'mssql-jdbc_auth-\<version>-\<arch>.dll'.
0 commit comments