Can I use Pageable attribute in Spring Data R2dbc repositories with @Query annotation? For example;
public interface PartyRepository extends ReactiveCrudRepository<Party,String> {
@Query("select * from party order by id")
Flux<Party> getParties(Pageable pageable);
}
It gives "org.springframework.data.repository.query.ParameterOutOfBoundsException : Invalid parameter index! You seem to have declared too little query method parameteres!"
Is there any way to use pagination in spring Data R2dbc repositories?
Thanks.