I am using Spring Data for the paging and the sorting. However, I would like to perform multi-columns searches.
Now, I am using the annotation @Query in my r
You could use specifications. That also gives you more flexibility. You can have one method, but use multiple specifications for a query:
Page findAll(Specification spec, Pageable pageable); myRepository.findAll(textInAllColumns(searchText), pageable);