Root<ScheduleGroup> root = criteriaQuery.from(ScheduleGroup.class);
root.fetch(ScheduleGroup_.jobs, JoinType.LEFT);
// CHECKSTYLE-OFF: NestedMethodCall
criteriaQuery.orderBy(
criteriaBuilder.asc(root.get(ScheduleGroup_.name))
);
// CHECKSTYLE-ON: NestedMethodCall
TypedQuery<ScheduleGroup> typedQuery = entityManager.createQuery(criteriaQuery);
if (Extraction.isRequired(extraction)) {