Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#2445: Upgrading mssqlnative jdbc driver to 11.2.3 and updating the docs #2452

Merged
merged 1 commit into from
Feb 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions assemblies/plugins/databases/mssqlnative-assemblies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<description />

<properties>
<mssqlnative.version>7.4.1.jre8</mssqlnative.version>
<mssqlnative.version>11.2.3.jre11</mssqlnative.version>
</properties>


Expand All @@ -52,4 +52,4 @@
</dependency>
</dependencies>

</project>
</project>
2 changes: 1 addition & 1 deletion assemblies/static/src/main/resources/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -1402,7 +1402,7 @@ This product bundles monetdb-jdbc 3.1, which is available under a
This product bundles mongo-java-driver 3.12.8, which is available under a
"Apache 2.0" license. For details, see LICENSE.

This product bundles mssql-jdbc 7.4.1.jre8, which is available under a
This product bundles mssql-jdbc 11.2.3.jre11, which is available under a
"The MIT" license. For details, see licenses/LICENSE-MIT.

This product bundles mvel2 2.4.14.Final, which is available under a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ under the License.
| Option | Info
|Type | Relational
|Driver | https://docs.microsoft.com/en-us/sql/connect/jdbc/download-microsoft-jdbc-driver-for-sql-server?view=sql-server-ver15[Driver Link]
|Version Included | None
|Version Included | 11.2.3
|Hop Dependencies | None
|Documentation | https://docs.microsoft.com/en-us/sql/connect/jdbc/setting-the-connection-properties?view=sql-server-ver15[Documentation Link]
|JDBC Url | jdbc:sqlserver://[serverName[\instanceName][:portNumber]][;property=value[;property=value]]
Expand All @@ -37,20 +37,20 @@ under the License.
The native Microsoft SQL JDBC driver ships with extra files that enables authentication using your current MS Windows credentials.
When you download the JDBC drivers from Microsoft's site and unzip them, there will be a directory structure like the following:

*sqljdbc_10.2.1.0_enu\sqljdbc_10.2_enu\auth\x64* <- 64bit authentication support files.
*sqljdbc_11.2.3.0_enu\sqljdbc_11.2_enu\auth\x64* <- 64bit authentication support files.

*sqljdbc_10.2.1.0_enu\sqljdbc_10.2_enu\auth\x86* <- 32bit authentication support files.
*sqljdbc_11.2.3.0_enu\sqljdbc_11.2_enu\auth\x86* <- 32bit authentication support files.

You would copy the file:

*sqljdbc_10.2.1.0_enu\sqljdbc_10.2_enu\auth\x64\mssql-jdbc_auth-10.2.1.x64.dll*
*sqljdbc_11.2.3.0_enu\sqljdbc_11.2_enu\auth\x64\mssql-jdbc_auth-11.2.3.x64.dll*

to

*hop\lib\mssql-jdbc_auth-10.2.1.x64.dll*
*hop\lib\mssql-jdbc_auth-11.2.3.x64.dll*

The JDBC driver itself *sqljdbc_10.2_enu\mssql-jdbc-10.2.1.jre11.jar* should be copied into
*\hop\plugins\databases\mssqlnative\lib*
The JDBC driver itself *sqljdbc_11.2_enu\mssql-jdbc-11.2.3.jre11.jar* should be copied into
*\hop\plugins\databases\mssqlnative\lib*, replacing the version already provided.


There is no need to rename the DLL to sqljdbc_auth.dll or place it in other locations.