title: how to write query in hibernate
body: <p>I have one table, <strong>User</strong>, and in that table, I have 3 columns:</p>
  
  <ul>
  <li>id</li>
  <li>name</li>
  <li>email</li>
  </ul>
  
  <p>I want to retrieve a name for a particular email by passing the email id; how would I write that hibernate query?</p>