Description
iBatis uses Class.forName to find classes.
In netbeans platform here is problem when iBatis used as module, because netbeans restricts loading classes, not declared as dependency for calling module. This lead to circular dependencies, because calling module contains dao implementation classes and ibatis should depend on them to be able to load them and in main module should depend on ibatis to be able to use ibatis classes.
Netbeans allow to load with slightly different way:
ClassLoader l = Thread.currentThread().getContextClassLoader();
Class c = l.loadClass("some.module.Class");
Is it possible to allow developer to specify classloader wrapper via sqlmap.xml, daomap.xml etc.