Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.2 branch, 2.0 branch, 3.0
-
None
Description
http://objectstyle.org/cayenne/lists/cayenne-user/2007/02/0125.html
Local JNDI hack (JNDIDataSourceFactory) loads Cayenne Modeler classes via reflection to read local preferences DB. In any non-trivial ClassLoader situation (Maven being among the more obscure ones), this may not work with a simple Class.forName() call. The exception details are described in the mailing list message above. The fix is easy - use thread class loader