title: JPQL aggregate functions with Specifications
body: <p>I need to make a JPQL query with aggregate functions, using Specifications. I would like something like</p>
  
  <pre><code>myQuery="select sum(et.durationMinutes/et.percent) from EmployeeTimekeeping et"
  myQuery.where(specifications)
  myQuery.getResultList();
  </code></pre>
  
  <p>I'm trying to use a Specifications object instead of my where clause.
  Is there any way to do something like this?</p>
  
  <p>Thanks!</p>