Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Missing descriptor for [class com.acme.prj.jpa.entity.UserStatusEntity]

Is this class included in your persistence.xml, is it annotated with @Entity?

Do you have other Entitys that work?  Have you redeployed your application?



Tender Slim wrote:
> 
> Hello All,
> 
>  EclipseLink 2.1.0
>  jboss-6.0.0.Final
> 
>  I am having the following error, and despite trying different changes, I
> am consistently having the following exception:
> 
>  2011-02-28 00:11:45,951 INFO [STDOUT] (http-127.0.0.1-8080-1)
> 00:11:45,951 INFO [AbstractIGenericDAO] getMultipleResult()
>  2011-02-28 00:11:45,952 INFO [STDOUT] (http-127.0.0.1-8080-1) [EL Finer]:
> 2011-02-28
> 00:11:45.952--ServerSession(28507308)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--client
> acquired
>  2011-02-28 00:11:45,952 INFO [STDOUT] (http-127.0.0.1-8080-1) [EL
> Finest]: 2011-02-28
> 00:11:45.952--UnitOfWork(6524499)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Execute
> query ReadAllQuery(referenceClass=UserStatusEntity )
>  2011-02-28 00:11:45,953 INFO [STDOUT] (http-127.0.0.1-8080-1) Begin
> profile of{ReadAllQuery(referenceClass=UserStatusEntity )
>  2011-02-28 00:11:45,956 INFO [STDOUT] (http-127.0.0.1-8080-1) [EL
> Warning]: 2011-02-28
> 00:11:45.953--UnitOfWork(6524499)--Thread(Thread[http-127.0.0.1-8080-1,5,jboss])--Local
> Exception Stack:
>  2011-02-28 00:11:45,956 INFO [STDOUT] (http-127.0.0.1-8080-1) Exception
> [EclipseLink-6007] (Eclipse Persistence Services - 2.1.2.v20101206-r8635):
> org.eclipse.persistence.exceptions.QueryException
>  2011-02-28 00:11:45,956 INFO [STDOUT] (http-127.0.0.1-8080-1) Exception
> Description: Missing descriptor for [class
> com.acme.prj.jpa.entity.UserStatusEntity].
>  2011-02-28 00:11:45,956 INFO [STDOUT] (http-127.0.0.1-8080-1) Query:
> ReadAllQuery(referenceClass=UserStatusEntity )
>  2011-02-28 00:11:45,956 INFO [STDOUT] (http-127.0.0.1-8080-1) at
> org.eclipse.persistence.exceptions.QueryException.descriptorIsMissing(QueryException.java:438)
> 
> 
>  Do I need to create a descriptor? -- I hope not. I just don't know what I
> am doing wrong.
> 
>  Since there are many files involved in my JPA project, I am leaving to
> respondants to tell me which files they would want to see.
> 
>  Thanks
> 
> 


-----
http://wiki.eclipse.org/User:James.sutherland.oracle.com James Sutherland 
http://www.eclipse.org/eclipselink/
 EclipseLink ,  http://www.oracle.com/technology/products/ias/toplink/
TopLink 
Wiki:  http://wiki.eclipse.org/EclipseLink EclipseLink , 
http://wiki.oracle.com/page/TopLink TopLink 
Forums:  http://forums.oracle.com/forums/forum.jspa?forumID=48 TopLink , 
http://www.nabble.com/EclipseLink-f26430.html EclipseLink 
Book:  http://en.wikibooks.org/wiki/Java_Persistence Java Persistence 
Blog:  http://java-persistence-performance.blogspot.com/ Java Persistence
Performance 
-- 
View this message in context: http://old.nabble.com/Missing-descriptor-for--class-com.acme.prj.jpa.entity.UserStatusEntity--tp31030016p31050572.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top