src/main/java/org/embulk/output/sqlserver/SQLServerOutputConnector.java in embulk-output-sqlserver-0.6.3 vs src/main/java/org/embulk/output/sqlserver/SQLServerOutputConnector.java in embulk-output-sqlserver-0.6.4
- old
+ new
@@ -1,27 +1,22 @@
package org.embulk.output.sqlserver;
+import org.embulk.output.jdbc.JdbcOutputConnector;
+
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.Properties;
-import org.embulk.output.jdbc.JdbcOutputConnector;
-
public class SQLServerOutputConnector
implements JdbcOutputConnector
{
private final String url;
private final Properties properties;
private final String schemaName;
public SQLServerOutputConnector(String url, Properties properties, String schemaName)
{
- try {
- Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
- } catch (Exception ex) {
- throw new RuntimeException(ex);
- }
this.url = url;
this.properties = properties;
this.schemaName = schemaName;
}