You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Michael Bouschen (JIRA)" <ji...@apache.org> on 2018/01/12 21:32:00 UTC
[jira] [Updated] (JDO-772) JDOHelper.getPersistenceManagerFactory
using wrong class loader when loading jdoconfig.xml
[ https://issues.apache.org/jira/browse/JDO-772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Bouschen updated JDO-772:
---------------------------------
Attachment: JDO-772-patch.txt
Attached you find a patch (JDO-772-patch.txt) for review.
> JDOHelper.getPersistenceManagerFactory using wrong class loader when loading jdoconfig.xml
> ------------------------------------------------------------------------------------------
>
> Key: JDO-772
> URL: https://issues.apache.org/jira/browse/JDO-772
> Project: JDO
> Issue Type: Bug
> Components: api
> Affects Versions: JDO 3.1
> Reporter: Michael Bouschen
> Assignee: Michael Bouschen
> Priority: Critical
> Fix For: JDO 3.2
>
> Attachments: JDO-772-patch.txt
>
>
> The JDO Helper method getPersistenceManagerFactory(overrides, name, resourceLoader, pmfLoader) tries to get properties from a jdoconfig.xml and uses the specified pmfLoader class loader to find the file (see line 1096). Instead it should use the specified resourceLoader class loader.
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)