how to use rownum in hibernate for greater or less

Posted by jacinta on Stack Overflow See other posts from Stack Overflow or by jacinta
Published on 2010-05-13T09:01:26Z Indexed on 2010/05/13 9:04 UTC
Read the original article Hit count: 207

Filed under:

Hi,

SELECT * FROM ABC WHERE PARATYPE = 'A' AND MODELID = '50' AND 'BA1' BETWEEN RAWMIN AND RAWMAX AND ROWNUM < 2 ;

I have the above query .i have difficulty in converting rownum < 2 in plsql to hibernate query. Can u help me .it's urgent. Thank You.

© Stack Overflow or respective owner

Related posts about hibernate