Problem in HQL query

Posted by Rupeshit on Stack Overflow See other posts from Stack Overflow or by Rupeshit
Published on 2010-04-12T08:24:37Z Indexed on 2010/04/12 8:43 UTC
Read the original article Hit count: 483

Filed under:
|
|

I written a query in my sql like this:

"select * from table_name order by col_name = 101 desc "

Which is working perfectly fine in mysql but when I tried to convert this query into HQl query then it is throwing an exception.So can anyone suggest me that how to write HQL query for the above SQL query.

© Stack Overflow or respective owner

Related posts about hql

Related posts about query