title: How to return an entity with chosen columns using Criteria
body: <p>I'm really new with Hibernate. I want a <code>List&lt;User&gt;</code> using hibernate criteria, but only with fields User id and name filled up. Is that possible? Something like the query shown below:</p>
  
  <pre><code>SELECT user.id, user.name FROM user
  </code></pre>
  
  <p>Regards.</p>