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.