-
Notifications
You must be signed in to change notification settings - Fork 74
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
The "driver_path" paramater is not working in the embulk-input-sqlserver plugin #266
Comments
Hello, @kei-hito. Thank you for your report. |
@hiroyuki-sato Thank you for your reply. |
@kei-hito Could you tell me why you want to use a newer JDBC driver? |
@hiroyuki-sato Official Microsoft Document: Connect using Microsoft Entra authentication |
@kei-hito Thanks. We need more discussion about this improvement. Below is the temporary workaround. (You can build it by yourself) diff --git a/embulk-input-sqlserver/build.gradle b/embulk-input-sqlserver/build.gradle
index 6f99454..2ecd4c3 100644
--- a/embulk-input-sqlserver/build.gradle
+++ b/embulk-input-sqlserver/build.gradle
@@ -1,6 +1,6 @@
dependencies {
implementation(project(path: ":embulk-input-jdbc", configuration: "runtimeElements"))
- implementation "com.microsoft.sqlserver:mssql-jdbc:7.2.2.jre8"
+ defaultJdbcDriver "com.microsoft.sqlserver:mssql-jdbc:7.2.2.jre8"
implementation("com.microsoft.azure:adal4j:1.6.7") {
exclude group: 'org.slf4j', module: 'slf4j-api'
exclude group: "org.apache.commons", module: "commons-lang3"
You will find |
@hiroyuki-sato
|
If you build plugin by yourself, We will not change default JDBC driver yet, so attached code expected use |
For now, I will try to build it myself. Thank you for developing the great plugin. |
ENV
TO REPRODUCE
Data transfer was successful.
However, the log shows that driver v7.2.2.0 is used instead of the driver specified in driver_path(v9.2.0).
[Full log]
The text was updated successfully, but these errors were encountered: