Add CrudRepository to interfaces extending PagingAndSortingRepository
MSALIn Spring Data 3.0, PagingAndSortingRepository no longer extends CrudRepository. Interfaces that extend only PagingAndSortingRepository must also explicitly extend CrudRepository to retain CRUD methods like save(), findById(), and delete().
org. openrewrite. java. spring. data. MigratePagingAndSortingRepositorymod run . --recipe= org. openrewrite. java. spring. data. MigratePagingAndSortingRepositoryInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.