Hibernate Tips: How to use an ORDER BY clause in a CriteriaQuery
Hibernate Tips is a series of posts in which I describe a quick and easy solution for common Hibernate questions. If you have a question for a future Hibernate Tip, please leave a comment below. Question: How do I create a CriteriaQuery which returns the selected entities in the ascending order of an attribute?
