Commit 2d78b25c authored by Olivier Bertrand's avatar Olivier Bertrand

- Fix null pointer java error when connecting to jdbc:drill driver.

  By setting the context class loader.
  modified:   storage/connect/JavaWrappers.jar
  modified:   storage/connect/JdbcInterface.java
  modified:   storage/connect/mysql-test/connect/std_data/JdbcMariaDB.jar
parent aae67535
This diff was suppressed by a .gitattributes entry.
......@@ -82,6 +82,9 @@ public class JdbcInterface {
System.out.println("URL=" + parms[1]);
CheckURL(parms[1], null);
// This is required for drivers using context class loaders
Thread.currentThread().setContextClassLoader(getClass().getClassLoader());
if (parms[2] != null && !parms[2].isEmpty()) {
if (DEBUG)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment