title: Difference between HQL and Criteria Query in Hibernate
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/197474/hibernate-criteria-vs-hql">Hibernate: Criteria vs. HQL</a>  </p>
  </blockquote>
  
  
  
  <p>There are HQL Query and Criteria Query in Hibernate. I just wanna that which will be used in which scenario? And what are advantages and disadvantages over each other?</p>
  
  <p>Thanks,</p>