This content has been marked as final.
Show 3 replies
-
1. Re: Query works in MySql but not in HQL
dornus Nov 18, 2005 10:40 AM (in response to dornus)I've also tried select count(*), but that doesn't work either
-
2. Re: Query works in MySql but not in HQL
bogsolomon Nov 18, 2005 3:18 PM (in response to dornus)You would need to use createNativeQuery and not createQuery. createQuery is used for EJQL.
-
3. Re: Query works in MySql but not in HQL
epbernard Nov 25, 2005 4:34 AM (in response to dornus)You have to query entities (ie objects) not table. EJB3 is a ORM solution.