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).
Loading...
Related Quiz
- You are developing a Spring Boot application which utilizes reactive programming to handle real-time data. How would you design the application to handle high volumes of concurrent requests efficiently?
- What is the primary file used to define properties in Spring Boot?
- In a Spring Boot project, which file is primarily used to declare project dependencies?
- When configuring OAuth2 Resource Server in Spring Boot, the _____ property is used to specify the location of the public key for verifying JWT signatures.
- Which annotation is primarily used in Spring Boot to mark the main class of your application?