I want to make multi fields filter with JpaRepository, but I need to keep pagination(Page).
I tried the following:
Page<Group> getAllByOrganizationAndIdNotInAndLocation_Id(Organization organization, Collection<Long> id, Long location_id, Pageable pageable);
However, in some cases, I do not receive all the expect variables and the query does not work as I intended