Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Not A Bug
-
2.3.3
-
None
-
None
-
WXP Sun JDK 1.6.0_30 Derby database
Description
Hi
The ConnectionFactory.getDriverClass() should use Thread.currentThread().getContextClassLoader(); instead of Class.forName() otherwise dynamically added jdbc drivers to the classpath are not found;
ClassLoader cl = Thread.currentThread().getContextClassLoader();
return cl.loadClass(driver);
// return Class.forName(driver);