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