Skip to content

Commit 3201faa

Browse files
authored
Merge pull request #20090 from David-Engel/deps
Add 9.4 feature deps
2 parents 32f7044 + 8f108b0 commit 3201faa

1 file changed

Lines changed: 41 additions & 1 deletion

File tree

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

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Feature dependencies
33
description: Learn about the dependencies that the Microsoft JDBC Driver for SQL Server has and how to meet them.
44
ms.custom: ""
5-
ms.date: "04/29/2021"
5+
ms.date: 08/27/2021
66
ms.prod: sql
77
ms.prod_service: connectivity
88
ms.reviewer: ""
@@ -32,6 +32,22 @@ This article lists libraries that the Microsoft JDBC Driver for SQL Server depen
3232

3333
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.
3434

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+
3551
**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:
3652

3753
```xml
@@ -70,6 +86,28 @@ Projects that require any of the preceding features need to explicitly declare t
7086
</dependency>
7187
```
7288

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:
90+
91+
```xml
92+
<dependency>
93+
<groupId>com.microsoft.sqlserver</groupId>
94+
<artifactId>mssql-jdbc</artifactId>
95+
<version>9.4.0.jre11</version>
96+
</dependency>
97+
98+
<dependency>
99+
<groupId>com.azure</groupId>
100+
<artifactId>azure-identity</artifactId>
101+
<version>1.3.3</version>
102+
</dependency>
103+
104+
<dependency>
105+
<groupId>com.azure</groupId>
106+
<artifactId>azure-security-keyvault-keys</artifactId>
107+
<version>4.2.8</version>
108+
</dependency>
109+
```
110+
73111
**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:
74112

75113
```xml
@@ -129,6 +167,7 @@ If you're using Maven to build or test your project, Maven will automatically do
129167

130168
### Working with the Azure Key Vault provider
131169

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))
132171
- 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))
133172
- 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))
134173
- 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
146185
147186
### Working with Azure Active Directory authentication
148187

188+
- JDBC driver version 9.4.0 - Dependency versions: Azure-identity(version 1.3.3), and their dependencies.
149189
- JDBC driver version 9.2.1 - Dependency versions: Azure-identity(version 1.1.3), and their dependencies.
150190
- JDBC Driver version 8.4.1 - Dependency versions: Adal4j (version 1.6.5), Client-Runtime-for-AutoRest (1.7.4), and their dependencies.
151191
- 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

Comments
 (0)