persistence@glassfish.java.net

Re: Netbeans 5.5 Persistance issue with MySQL

From: David W. Van Couvering <David.Vancouvering_at_Sun.COM>
Date: Mon, 08 Jan 2007 09:25:55 -0800

I'm pretty much a newbie when it comes to the new Java Persistence
stuff, but it sure seems to me that the Glassfish persistence code (e.g.
TopLink) is not able to find the descriptors for the entity classes it
is trying to persist. This is either because it can't find the
persistence.xml file or the persistence.xml file is missing the
descriptor for the entity class.

I am copying the glassfish persistence team as this is their area of
expertise.

David

Rajesh Chenji wrote:
> Hi All,
>
> We have one of our customer trying run a simple Enterprise Application
> which uses Entity Beans & JSF using MySQL 4.1.Attached are the sample
> project & issue details.
>
> I tried to work out the same issue using default derby database which is
> bundled with Netbeans 5.5.But i keep encountering the following
> exception which the customer also encounters
>
> *exception*
>
> javax.servlet.ServletException:
> Exception Description: A problem was encountered resolving the class name - The descriptor for [Reservation] was not found.
>
> *root cause*
>
> Exception [TOPLINK-8006] (Oracle TopLink Essentials - 2006.8 (Build 060830)): oracle.toplink.essentials.exceptions.EJBQLException
> Exception Description: A problem was encountered resolving the class name - The descriptor for [Reservation] was not found.
>
> Please refer the following attached documents for more details
>
> Regards
> Rajesh Chenji