src/main/java/org/embulk/output/SQLServerOutputPlugin.java in embulk-output-sqlserver-0.7.12 vs src/main/java/org/embulk/output/SQLServerOutputPlugin.java in embulk-output-sqlserver-0.7.13
- old
+ new
@@ -134,10 +134,10 @@
{
SQLServerPluginTask sqlServerTask = (SQLServerPluginTask) task;
boolean useJtdsDriver = false;
if (sqlServerTask.getDriverPath().isPresent()) {
- loadDriverJar(sqlServerTask.getDriverPath().get());
+ addDriverJarToClasspath(sqlServerTask.getDriverPath().get());
try {
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
} catch (Exception e) {
throw new ConfigException("Driver set at field 'driver_path' doesn't include Microsoft SQLServerDriver", e);
}