title: Translating a Postgresql query to a Hibernate query
body: <p>How do I make a query using hibernate which can render the result below?</p>
  <p>I'm trying to capture the same record in a Java <code>List&lt;Object&gt;</code> by querying through hibernate.</p>
  <p><a href="https://i.stack.imgur.com/0PyIN.jpg" rel="nofollow noreferrer">enter image description here</a></p>