[jboss-user] [EJB 3.0] - Re: ERROR: is not mapped

Thu, 15 Nov 2007 02:58:58 -0800

Table name and Class name Users

List list = session.createQuery("SELECT * FROM USERS).list();
Use HQL -> exception


List list = session.createSQLQuery("SELECT * FROM USERS).list();
Pure SQL  -> work, with out problem

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104920#4104920

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104920
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to