I have a list of clients per vendor and I'm trying to create a paging to show 10 and 10 clients on my modal in PHP. If anyone can help me thank you, because I'm still not good at spring data.
Below is my repository:
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import br.com.alpha.core.modelo.entidades.Cliente;
public interface ClienteRepositorio extends JpaRepository<Cliente, Integer> {
List<Cliente> findByNomeStartingWithAndVendedorEquals(String nome, Integer vendedor);
}