title: Hibernate: Retrieving Lists
body: <p>I am a beginner with hibernate. My intetions are really simple: I have mapped objects into one table with annotations. Now I want to retrieve them as a List of objects to display them. Later I want to implement simple filters. </p>
  
  <p>Do I need to write SQL Queries? or is there a kind of Annotation based method?</p>
  
  <hr>
  
  <p><strong>Option 1:</strong> see Rupeshit's solution!</p>
  
  <p>One question for that: what kind of list should I use? hibernate or util?</p>
  
  <hr>
  
  <p>Is that maybe a option too?: <a href="http://www.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/5.0.0/html/Hibernate_Annotations_Reference_Guide/entity-hibspec-collection.html" rel="nofollow noreferrer">link</a></p>