[ 
https://issues.apache.org/jira/browse/OPENJPA-788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Richard Zowalla resolved OPENJPA-788.
-------------------------------------
    Resolution: Fixed

Already fixed on master: PersistenceMetaDataFactory.parseXML puts envLoader and 
the resolver's application loader together in a MultiClassLoader 
(PersistenceMetaDataFactory.java:350-362). This came from 672b5f0b4 (Jan 2009). 
Closing.

> Error finding entity class while parsing orm.xml.
> -------------------------------------------------
>
>                 Key: OPENJPA-788
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-788
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: jpa
>    Affects Versions: 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.1.0, 1.2.0
>         Environment: WebLogic Server  10.0 MP1, Oracle Database
>            Reporter: Vikram Bhatia
>            Priority: Major
>         Attachments: OPENJPA-788.patch, app.jar, client.jar, test-src.zip
>
>
> There is an error loading entity class while parsing object-relational 
> mapping XML file with classloader.  It uses environment classloader instead 
> of application classloader to load entity class when object-relational 
> mapping XML file is parsed. 
> OPENJPA-40 has introduced a change in PersistenceMetaDataFactory and sets the 
> classloader to envClassLoader if it is not null instead of loader passed as 
> method input parameter and there is NPE fixed with SVN change number 447112 
> to use envClassLoader only if it not null. 



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to