mirror of https://github.com/apache/openjpa.git
OPENJPA-1910: Update PersistenceProviderImpl to use different classloader when running in osgi.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1057817 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
04b1abb039
commit
c8b5c8350e
|
@ -92,7 +92,7 @@ public class PersistenceProviderImpl
|
|||
return null;
|
||||
}
|
||||
|
||||
BrokerFactory factory = getBrokerFactory(cp, poolValue, null);
|
||||
BrokerFactory factory = getBrokerFactory(cp, poolValue, BundleUtils.getBundleClassLoader());
|
||||
OpenJPAConfiguration conf = factory.getConfiguration();
|
||||
_log = conf.getLog(OpenJPAConfiguration.LOG_RUNTIME);
|
||||
pd.checkPuNameCollisions(_log,name);
|
||||
|
|
Loading…
Reference in New Issue