Azure TokenCredential class required if using Always Encrypted but not using Azure #2439
Labels
Bug
A bug in the driver. A high priority item that one can expect to be addressed quickly.
Milestone
Driver version
12.6.2.jre11.
SQL Server version
Microsoft SQL Server 2019 (RTM-CU26) (KB5035123) - 15.0.4365.2 (X64) Mar 29 2024 23:02:47 Copyright (C) 2019 Microsoft Corporation Developer Edition (64-bit) on Windows Server 2019 Standard 10.0 (Build 17763: ) (Hypervisor)
Client Operating System
Unix (macOS && Linux both have same behavior)
JAVA/JVM version
java version 21
Problem description
When executing a query with an Always Encrypted column using JavaKeyStorePassword for keyStroeAuthentication, getting a ClassNotFoundException on
com.azure.core.credential.TokenCredential
. SQLServer is running on Windows Server and not in Azure.Expected behavior
Should be able to query database with Always Encrypted column without Azure dependency if database not on Azure.
Actual behavior
Azure classes are required even if not using Azure.
Error message/stack trace
The text was updated successfully, but these errors were encountered: