Class clazz = getClass(driver);
Connection c =
Since JDBC (as i understand it) uses the thread
context classloader and (i thought) i pointed
BeanShell to using that same class loader i would have
thought everyone would have been happy (the
class.newInstance works OK as expected for example)
I know i could put the JDBC driver in the -cp
classpath when i invoke BeanShell but for a variety of
reasons i need to make this run time discovery of JARs
Can someone tell me what i am missing here?
Want to start your own business?
Learn how on Yahoo! Small Business.