@@ -290,7 +290,7 @@ public Page<ContingencyEntity> findContingenciesPage(UUID resultUuid, List<Resou
290290 assertNmKContingenciesSortAllowed (pageable .getSort ());
291291 Pageable modifiedPageable = addDefaultSortAndRemoveChildrenSorting (pageable , ContingencyEntity .Fields .uuid );
292292
293- Specification <ContingencyEntity > specification = contingencySpecificationBuilder .buildSpecification (resultUuid , resourceFilters );
293+ Specification <ContingencyEntity > specification = contingencySpecificationBuilder .buildSpecification (resultUuid , resourceFilters , true );
294294 // WARN org.hibernate.hql.internal.ast.QueryTranslatorImpl -
295295 // HHH000104: firstResult/maxResults specified with collection fetch; applying in memory!
296296 // cf. https://vladmihalcea.com/fix-hibernate-hhh000104-entity-fetch-pagination-warning-message/
@@ -326,7 +326,7 @@ public Page<SubjectLimitViolationEntity> findSubjectLimitViolationsPage(UUID res
326326 Objects .requireNonNull (resultUuid );
327327 assertNmKSubjectLimitViolationsSortAllowed (pageable .getSort ());
328328 Pageable modifiedPageable = addDefaultSortAndRemoveChildrenSorting (pageable , SubjectLimitViolationEntity .Fields .id );
329- Specification <SubjectLimitViolationEntity > specification = subjectLimitViolationSpecificationBuilder .buildSpecification (resultUuid , resourceFilters );
329+ Specification <SubjectLimitViolationEntity > specification = subjectLimitViolationSpecificationBuilder .buildSpecification (resultUuid , resourceFilters , true );
330330 // WARN org.hibernate.hql.internal.ast.QueryTranslatorImpl -
331331 // HHH000104: firstResult/maxResults specified with collection fetch; applying in memory!
332332 // cf. https://vladmihalcea.com/fix-hibernate-hhh000104-entity-fetch-pagination-warning-message/
0 commit comments