clean + hibernate HQL ok + enum instead of big switch for order by