title: How to get list of 10 random unique objects with Hibernate?
body: <p>Does anyone have HQL query on how to get list of 10 random unique objects from the database?</p>
  
  <p>It should be done in database not in application. I'd like to get something that has better performance than my current solution which pretty much makes 10 requests to get the list filed up.</p>