Added support for registering pre-JDBC4 drivers via job.driver

This commit is contained in:
Christopher Ramey 2012-08-22 15:20:17 +00:00 committed by cdramey
parent 4abd15d18e
commit 0ef5f9b41d

View File

@ -63,6 +63,9 @@ public class JDBCJSON
String out = properties.getProperty(job + ".out");
if(out == null){ out = job + ".json"; }
String driver = properties.getProperty(job + ".driver");
if(driver != null){ Class.forName(driver); }
Connection conn = null;
JsonWriter writer = null;
try {