Root<ScheduleExecution> root = criteriaQuery.from(ScheduleExecution.class);
root.fetch(ScheduleExecution_.job, JoinType.LEFT);
// CHECKSTYLE-OFF: NestedMethodCall
criteriaQuery.orderBy(
criteriaBuilder.desc(root.get(ScheduleExecution_.fired))
);
// CHECKSTYLE-ON: NestedMethodCall
TypedQuery<ScheduleExecution> typedQuery = entityManager.createQuery(criteriaQuery);
if (Extraction.isRequired(extraction)) {