Hi,everyone!
I use HQL to query the database in my program. Here is my code:
I have looked many source code about querying in hibernate, and I think my HQL query is nothing wrong. But when running, there is always
net.sf.hibernate.QueryException: unexpected token: as [select from userinfo as ui]
I am really confused. Please give me your advices if possible.
Thanks for help!
Have a nice day!
Regards,