src/main/java/org/embulk/output/DB2OutputPlugin.java in embulk-output-db2-0.7.12 vs src/main/java/org/embulk/output/DB2OutputPlugin.java in embulk-output-db2-0.7.13
- old
+ new
@@ -63,10 +63,10 @@
protected DB2OutputConnector getConnector(PluginTask task, boolean retryableMetadataOperation)
{
DB2PluginTask db2Task = (DB2PluginTask) task;
if (db2Task.getDriverPath().isPresent()) {
- loadDriverJar(db2Task.getDriverPath().get());
+ addDriverJarToClasspath(db2Task.getDriverPath().get());
}
String url = String.format(ENGLISH, "jdbc:db2://%s:%d/%s",
db2Task.getHost(), db2Task.getPort(), db2Task.getDatabase());