Well, it hangs not exactly on execute(), but on the line like this.
result = sqlFactory.select(Job.JOBTYPE_ID,
jobTypeCountField).from(Job.JOB)
.where(Job.STATUS.equal(JobStatus.EXECUTING)).groupBy(Job.JOBTYPE_ID)
.fetchMap(Job.JOBTYPE_ID, jobTypeCountField);Will try to do some debugging later.
