I\'m using the following code to load a driver class:
public class DriverLoader extends URLClassLoader { private DriverLoader(URL[] urls) { supe
You should establish connection in a class loaded by your DriverLoader. So, load the connection establishment code using DriverLoader and then call JDBC from it.