title: hibernate property formula how to get more than 1 row?
body: <p>In the hibernate mapping file I use property formula to get any value.</p>
  
  <pre><code>&lt;property name="price" type="double" formula="(select SUM(amount) ...) /&gt;
  </code></pre>
  
  <p>But it allows to get only 1 row. How can I get lisf of rows? 
  I understand that "property" is not suitable, but it's impossible to add formula to set or list.</p>
  
  <p>Of course I just want to get values without adding new classes. 
  I just have the sql request and expect to get list or set for existed class.</p>