openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vikram Bhatia (JIRA)" <>
Subject [jira] Commented: (OPENJPA-788) Error finding entity class while parsing orm.xml.
Date Wed, 26 Nov 2008 10:42:44 GMT


Vikram Bhatia commented on OPENJPA-788:

To reproduce the issue, follow the following steps:
1. Create data source with JNDI name as txDS.
2. Deploy application app.jar on WebLogic Server.
3. Use class com.openjpa.simpletest.TestMain to run the testcase using junit.

> Error finding entity class while parsing orm.xml.
> -------------------------------------------------
>                 Key: OPENJPA-788
>                 URL:
>             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
>         Attachments: app.jar, client.jar
> 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 is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message