mirror of https://github.com/apache/openjpa.git
OPENJPA-401
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@584190 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
027c472449
commit
31e436df3c
|
@ -188,9 +188,9 @@ public class MappingToolTask
|
|||
flags.sqlWriter = Files.getWriter(sqlFile, loader);
|
||||
|
||||
MultiLoaderClassResolver resolver = new MultiLoaderClassResolver();
|
||||
resolver.addClassLoader(loader);
|
||||
resolver.addClassLoader((ClassLoader) AccessController.doPrivileged(
|
||||
J2DoPrivHelper.getClassLoaderAction(MappingTool.class)));
|
||||
resolver.addClassLoader(loader);
|
||||
JDBCConfiguration conf = (JDBCConfiguration) getConfiguration();
|
||||
conf.setClassResolver(resolver);
|
||||
|
||||
|
|
Loading…
Reference in New Issue