Which of the following Spring Data JPA repositories generally provides methods for CRUD operations?

  • CrudRepository
  • JpaRepository
  • JpaSpecificationExecutor
  • PagingAndSortingRepository
The CrudRepository in Spring Data JPA generally provides methods for CRUD (Create, Read, Update, Delete) operations. It's a fundamental repository interface for basic data manipulation tasks. The other mentioned repositories extend CrudRepository and provide additional functionality such as pagination, sorting (JpaRepository), and specification-based querying (JpaSpecificationExecutor).
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *