title: hibernate query entity not by id
body: <p>I can query a row with the id with the following code:</p>
  
  <pre><code>Session session = (Session) HibernateUtil.getSessionFactory().getCurrentSession();
  transaction = session.beginTransaction();
  
  result = (T) session.get(clazz, id);
  </code></pre>
  
  <p>But i want to achieve something different.
  Why isnt it possible (or is it?) to declare a certain column and get all rows which match this columns value. Like this:</p>
  
  <pre><code>Session session = (Session) HibernateUtil.getSessionFactory().getCurrentSession();
  transaction = session.beginTransaction();
  
  result = (T) session.get(clazz, "column", "column_value");
  </code></pre>