[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: no persistent classes found for query class
PeterJ
do-not-reply at jboss.com
Wed May 6 18:20:44 EDT 2009
Based on what you are showing I am not sure if you are using straight Hibernate, or is you are using JPA (the amount of commented-out code makes it difficult to follow). My guess is that you are using JPA. In which case you have not declared the entity class. Add an @Entity annotation to the User class and see if that fixes it.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4229206#4229206
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4229206
More information about the jboss-user
mailing list