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