Skip DLL file loading in Windows Authentication

Akash Narvaria 0 Reputation points
2024-11-18T07:37:15.29+00:00

I want to skip dll file loading while doing windows authentication as JVM already have the dll file and hence it is throwing UnsatisfiedLinkError while loading dll again. Can we pass any parameter through which we don't need to load dll file?

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,150 questions
{count} votes

1 answer

Sort by: Most helpful
  1. LiHongMSFT-4306 29,191 Reputation points
    2024-11-18T08:17:55.1266667+00:00

    Hi @Akash Narvaria

    How about set the integratedSecurity to true.

    Refer to this doc: Setting the connection properties.

    Set to "true" to indicate that Windows credentials are used by SQL Server on Windows operating systems. If "true", the JDBC driver searches the local computer credential cache for credentials that were provided when a user signed in to the computer or network.

    Best regards,

    Cosmog


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.