openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mprud...@apache.org
Subject svn commit: r442026 - /incubator/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/PersistenceMetaDataFactory.java
Date Sun, 10 Sep 2006 22:49:26 GMT
Author: mprudhom
Date: Sun Sep 10 15:49:25 2006
New Revision: 442026

URL: http://svn.apache.org/viewvc?view=rev&rev=442026
Log:
OPENJPA-40 Use the same environment class loader both as the core class loader and the environment
class loader for the XMLPersistenceMetaDataParser.

Modified:
    incubator/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/PersistenceMetaDataFactory.java

Modified: incubator/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/PersistenceMetaDataFactory.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/PersistenceMetaDataFactory.java?view=diff&rev=442026&r1=442025&r2=442026
==============================================================================
--- incubator/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/PersistenceMetaDataFactory.java
(original)
+++ incubator/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/PersistenceMetaDataFactory.java
Sun Sep 10 15:49:25 2006
@@ -230,7 +230,7 @@
         ClassLoader loader = repos.getConfiguration().
             getClassResolverInstance().getClassLoader(cls, envLoader);
         XMLPersistenceMetaDataParser xmlParser = getXMLParser();
-        xmlParser.setClassLoader(loader);
+        xmlParser.setClassLoader(envLoader);
         xmlParser.setEnvClassLoader(envLoader);
         xmlParser.setMode(mode);
         try {



Mime
View raw message