openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mik...@apache.org
Subject svn commit: r584192 - /openjpa/branches/1.0.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/ant/MappingToolTask.java
Date Fri, 12 Oct 2007 15:49:03 GMT
Author: mikedd
Date: Fri Oct 12 08:49:00 2007
New Revision: 584192

URL: http://svn.apache.org/viewvc?rev=584192&view=rev
Log:
OPENJPA-401

Modified:
    openjpa/branches/1.0.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/ant/MappingToolTask.java

Modified: openjpa/branches/1.0.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/ant/MappingToolTask.java
URL: http://svn.apache.org/viewvc/openjpa/branches/1.0.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/ant/MappingToolTask.java?rev=584192&r1=584191&r2=584192&view=diff
==============================================================================
--- openjpa/branches/1.0.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/ant/MappingToolTask.java
(original)
+++ openjpa/branches/1.0.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/ant/MappingToolTask.java
Fri Oct 12 08:49:00 2007
@@ -188,9 +188,9 @@
         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);
         



Mime
View raw message