title: java, hibernate: mapping property with a query
body: <p>I have an entity with a property "quantity", this value is not a table field but is dynamically calculated with an hql query.</p>
  
  <p>So, is possibile to add this value in my entities and make hibernate calculate it when I load my entities?</p>