You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by Rajeev Chaudhary <ve...@gmail.com> on 2010/06/10 19:55:23 UTC

org.apache.openjpa.persistence.ArgumentException: No metadata was found for type

I am getting this error when I am using container based EntityManager. If I
use application based entityManager, I don't get it error. Please help me
ASAP

I am using weblogic 10gR3 with the following jpa jars
javax.persistence_1.0.0.0_1-0.jar, org.apache.openjpa_2.2.0.0_1-1-0.jar

rg.wadsworth.eclephpn.dao.DaoException: <openjpa-1.1.0-r422266:657916 fatal
user error> org.apache.openjpa.persistence.ArgumentException: No metadata
was found for type "class org.wadsworth.eclep.dto.PmCatDto". The class does
not appear in the list of persistent types:
[org.wadsworth.eclep.dto.PersonDto, org.wadsworth.eclep.dto.FacPerson,
org.wadsworth.eclep.dto.FacDto, org.wadsworth.eclep.dto.HisHldFacPk,
org.wadsworth.eclep.dto.MessageQueue, org.wadsworth.eclep.dto.HldFacDto,
org.wadsworth.eclep.dto.FacPersonPk, 
---------
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

<persistence-unit name="eclepDS" transaction-type="JTA">
        <jta-data-source>eclep.jpa.DataSource</jta-data-source>
        <class>org.wadsworth.eclep.dto.FacDto</class>
        <class>org.wadsworth.eclep.dto.PersonDto</class>
        <class>org.wadsworth.eclep.dto.HldFacDto</class>
        <class>org.wadsworth.eclep.dto.MessageQueue</class>
        <class>org.wadsworth.eclep.dto.FacPersonPk</class>
        <class>org.wadsworth.eclep.dto.FacPerson</class>
        <class>org.wadsworth.eclep.dto.HisHldFacPk</class>
        <class>org.wadsworth.eclep.dto.HisHldFacDto</class>
        <class>org.wadsworth.eclep.dto.BaseFacDto</class>
        <class>org.wadsworth.eclep.dto.FacPermitCategoryPk</class>
        <class>org.wadsworth.eclep.dto.FacPermitCategory</class>
        <class>org.wadsworth.eclep.dto.PersonCqCategory</class>
        <class>org.wadsworth.eclep.dto.PersonCqCategoryPk</class>
        <class>org.wadsworth.eclep.dto.PicklistDto</class>
        <class>org.wadsworth.eclep.dto.PicklistValueDto</class>
        <class>org.wadsworth.eclep.dto.PicklistValuePk</class>
        <class>org.wadsworth.eclep.dto.PmCatDto</class>
        <class>org.wadsworth.eclep.dto.FacPersPmcatPk</class>
        <class>org.wadsworth.eclep.dto.FacPersPmcatDto</class>
    </persistence-unit>
-- 
View this message in context: http://openjpa.208410.n2.nabble.com/org-apache-openjpa-persistence-ArgumentException-No-metadata-was-found-for-type-tp5164478p5164478.html
Sent from the OpenJPA Developers mailing list archive at Nabble.com.