Added support for registering pre-JDBC4 drivers via job.driver
This commit is contained in:
parent
4abd15d18e
commit
0ef5f9b41d
@ -63,6 +63,9 @@ public class JDBCJSON
|
|||||||
String out = properties.getProperty(job + ".out");
|
String out = properties.getProperty(job + ".out");
|
||||||
if(out == null){ out = job + ".json"; }
|
if(out == null){ out = job + ".json"; }
|
||||||
|
|
||||||
|
String driver = properties.getProperty(job + ".driver");
|
||||||
|
if(driver != null){ Class.forName(driver); }
|
||||||
|
|
||||||
Connection conn = null;
|
Connection conn = null;
|
||||||
JsonWriter writer = null;
|
JsonWriter writer = null;
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user