db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject svn commit: r1821564 - /db/jdo/trunk/api/src/java/javax/jdo/JDOHelper.java
Date Thu, 18 Jan 2018 22:09:34 GMT
Author: mbo
Date: Thu Jan 18 22:09:34 2018
New Revision: 1821564

URL: http://svn.apache.org/viewvc?rev=1821564&view=rev
Log:
JDO-772: JDOHelper.getPersistenceManagerFactory using wrong class loader when loading jdoconfig.xml

Modified:
    db/jdo/trunk/api/src/java/javax/jdo/JDOHelper.java

Modified: db/jdo/trunk/api/src/java/javax/jdo/JDOHelper.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api/src/java/javax/jdo/JDOHelper.java?rev=1821564&r1=1821563&r2=1821564&view=diff
==============================================================================
--- db/jdo/trunk/api/src/java/javax/jdo/JDOHelper.java (original)
+++ db/jdo/trunk/api/src/java/javax/jdo/JDOHelper.java Thu Jan 18 22:09:34 2018
@@ -1093,7 +1093,7 @@ public class JDOHelper implements Consta
             return getPersistenceManagerFactory(overrides, props, pmfLoader);
         }
         // props were null; try getting from jdoconfig.xml
-        props = getPropertiesFromJdoconfig(name, pmfLoader);
+        props = getPropertiesFromJdoconfig(name, resourceLoader);
         if (props != null) {
             // inform the impl that the config came from a jdoconfig.xml
             // element with the given name



Mime
View raw message