CrudRepository, JpaRepository, PagingAndSortingRepository in Spring Data
Spring Data Repositories
JpaRepositoryextendsPagingAndSortingRepository and, in turn, the CrudRepository.
CrudRepository:Provides CRUD functionality
PagingAndSortingRepository:Provides methods to do pagination and sort records
JpaRepository:Provides JPA related methods such as flushing the persistence context and delete records in a batch
NOTE: because of the inheritance relationship, the JpaRepository contains the full API of CrudRepository and PagingAndSortingRepository.