Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 50455 invoked from network); 10 Jun 2010 18:19:07 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Jun 2010 18:19:07 -0000 Received: (qmail 557 invoked by uid 500); 10 Jun 2010 18:19:06 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 462 invoked by uid 500); 10 Jun 2010 18:19:06 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Delivered-To: moderator for dev@openjpa.apache.org Received: (qmail 76157 invoked by uid 99); 10 Jun 2010 17:55:51 -0000 X-ASF-Spam-Status: No, hits=4.2 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,SPF_HELO_PASS,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.236.158 is neither permitted nor denied by domain of veeraj21@gmail.com) Date: Thu, 10 Jun 2010 10:55:23 -0700 (PDT) From: Rajeev Chaudhary To: dev@openjpa.apache.org Message-ID: <1276192523305-5164478.post@n2.nabble.com> Subject: org.apache.openjpa.persistence.ArgumentException: No metadata was found for type MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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: 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) eclep.jpa.DataSource org.wadsworth.eclep.dto.FacDto org.wadsworth.eclep.dto.PersonDto org.wadsworth.eclep.dto.HldFacDto org.wadsworth.eclep.dto.MessageQueue org.wadsworth.eclep.dto.FacPersonPk org.wadsworth.eclep.dto.FacPerson org.wadsworth.eclep.dto.HisHldFacPk org.wadsworth.eclep.dto.HisHldFacDto org.wadsworth.eclep.dto.BaseFacDto org.wadsworth.eclep.dto.FacPermitCategoryPk org.wadsworth.eclep.dto.FacPermitCategory org.wadsworth.eclep.dto.PersonCqCategory org.wadsworth.eclep.dto.PersonCqCategoryPk org.wadsworth.eclep.dto.PicklistDto org.wadsworth.eclep.dto.PicklistValueDto org.wadsworth.eclep.dto.PicklistValuePk org.wadsworth.eclep.dto.PmCatDto org.wadsworth.eclep.dto.FacPersPmcatPk org.wadsworth.eclep.dto.FacPersPmcatDto -- 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.