Please publish Maven artifacts for the x86 and x64 auth DLLs
See original GitHub issueThanks for publishing Maven artifacts for the SQL Server JDBC driver!
In Atlassian Bitbucket Server, we bundle the JDBC driver jar, and we also bundle the x86 and x64 versions of sqljdbc_auth.dll
to facilitate using integrated authentication on Windows. Prior to Microsoft publishing their own jars for the JDBC driver we would manually publish them to our internal Maven repository, along with the DLLs. Now we can use the Microsoft-published jar for the JDBC driver, but we still need to manually publish the auth DLLs.
We use classifiers to differentiate the x86 and x64 DLLs, so our dependencies look like this:
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc_auth</artifactId>
<classifier>x64</classifier>
<type>dll</type>
</dependency>
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc_auth</artifactId>
<classifier>x86</classifier>
<type>dll</type>
</dependency>
Is there any chance Microsoft could start publishing the auth DLLs (and maybe the sqljdbc_xa
DLLs for completeness, though we don’t need those)? I assume the DLLs change from time to time, and that would imply it’s important to use the DLL version that matches the JDBC driver version. (That’s why we package the DLLs; that way we’re certain the DLL and driver match.)
Thanks for your consideration!
Issue Analytics
- State:
- Created 5 years ago
- Reactions:6
- Comments:9 (4 by maintainers)
Top GitHub Comments
Massive thanks, @ulvii! This will make it much simpler for us to consume newer driver versions directly, rather than needing to re-host parts of them.
Hi everyone, The x64 and x86 DLLs are uploaded to Maven together with .pdb files. Below is how you’d add them as a dependency:
Closing the issue, please let me know if you have any questions.