title: JPA Query selecting only specific columns without using Criteria Query?
body: <p>Is it possible to select, say, only properties <strong>A and B from an object using a <code>JPA</code> query</strong> without using criteria queries?</p>
  <p>To select all properties I'd just do something like:</p>
  <pre><code>SELECT i FROM ObjectName i WHERE i.id = 10
  </code></pre>
  <p>But I have an object with <strong>many</strong> properties on a legacy system, and want to select just a few even though I'm aware selecting several properties is usually quick.</p>
  <p>Is this possible without using criteria queries?</p>