title: Handle SQL injection in HQL order by clause
body: <p>is there a simple way to handle SQL injection in Hibernate HQL order by clause. Named params obviously doesn't work for it.</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>Feel free to post your way of handling this problem. I want to see other people's solutions and teach from them.</p>
  
  <p>Thanks for any suggestions and solutions.</p>