How to construct these HQL statements

Posted by losintikfos on Stack Overflow See other posts from Stack Overflow or by losintikfos
Published on 2010-05-13T15:01:21Z Indexed on 2010/05/13 15:04 UTC
Read the original article Hit count: 163

Filed under:

Do anyone know how to construct these two SQL statement in HQL;

     SELECT MIN(id) FROM Books WHERE mid < ?  OR mid =?

     SELECT SUM(noOfBooks) FROM Bookcount WHERE mId=128

© Stack Overflow or respective owner

Related posts about hibernate