Details
Description
Using ResulsetDynaClass with a byte array (e.g. varbinary) throws a class not found exception.
Doing some research on the web, i found the following entry http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6516909,
Patching the JDBCDynaClass was quiet easy.
protected Class loadClass(String className) throws SQLException {
try {
ClassLoader cl = Thread.currentThread().getContextClassLoader();
if (cl == null)
// return (cl.loadClass(className));
// FIX: for http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6516909
return (Class.forName(className, false, cl));
} catch (Exception e)
}