I solved it using “order by col_1_0_” in above query.. because hibernate creates column with names col_0_0_, col_1_0_, col_2_0_ and so on.. so if you just need to know the order of your column and add it to order by accordingly..
Thanks.
amar4kintu
1
solved HQL Order by query giving problem