hibernate - How set order by clause in HQL by run time? -
is there way set order clause in hql
run time. i.e. select obj example1 order <here column name , asc or desc
these 2 thing want set in run time>.
any proper solution...? have try adding 2 ? it's not working. replacing string work....but there other way hql
....
the way concatenate appropriate field. if don't it, use the criteria api, designed generate queries dynamically.
Comments
Post a Comment