1. What is Spring Data JPA ? Junior A. the abstraction that generates persistence implementations from repository interfaces, reducing boilerplate data code B. an annotation marking a class as a persistent domain object mapped to a database table C. a repository method whose database lookup is generated automatically by parsing its name, such as findByLastName D. a transaction setting that suspends any existing transaction and always starts a fresh independent one Reveal the answer + AI explanation — free account
2. Which term means: "the abstraction that generates persistence implementations from repository interfaces, reducing boilerplate data code"? Junior A. Propagation.REQUIRES_NEW B. Spring Data JPA C. @Query D. Derived query method Reveal the answer + AI explanation — free account
3. Which statement is correct? Junior A. Spring Data JPA — an annotation letting you attach a custom JPQL or native statement to a repository method B. Spring Data JPA — a transaction setting that suspends any existing transaction and always starts a fresh independent one C. Spring Data JPA — an annotation that wraps a method in a database transaction, committing on success and rolling back on runtime errors D. Spring Data JPA — the abstraction that generates persistence implementations from repository interfaces, reducing boilerplate data code Reveal the answer + AI explanation — free account
4. What is JpaRepository ? Mid A. a transaction setting that suspends any existing transaction and always starts a fresh independent one B. the interface you extend to inherit ready-made CRUD, paging, and sorting operations for an entity C. an annotation that wraps a method in a database transaction, committing on success and rolling back on runtime errors D. an annotation marking a class as a persistent domain object mapped to a database table Reveal the answer + AI explanation — free account
5. Which term means: "the interface you extend to inherit ready-made CRUD, paging, and sorting operations for an entity"? Mid A. JpaRepository B. @Query C. Derived query method D. Propagation.REQUIRES_NEW Reveal the answer + AI explanation — free account
6. Which statement is correct? Mid A. JpaRepository — a repository method whose database lookup is generated automatically by parsing its name, such as findByLastName B. JpaRepository — an annotation marking a class as a persistent domain object mapped to a database table C. JpaRepository — an annotation letting you attach a custom JPQL or native statement to a repository method D. JpaRepository — the interface you extend to inherit ready-made CRUD, paging, and sorting operations for an entity Reveal the answer + AI explanation — free account
7. What is @Entity ? Junior A. the abstraction that generates persistence implementations from repository interfaces, reducing boilerplate data code B. a transaction setting that suspends any existing transaction and always starts a fresh independent one C. an annotation marking a class as a persistent domain object mapped to a database table D. an annotation that wraps a method in a database transaction, committing on success and rolling back on runtime errors Reveal the answer + AI explanation — free account
8. Which term means: "an annotation marking a class as a persistent domain object mapped to a database table"? Junior A. JpaRepository B. @Entity C. Spring Data JPA D. @Transactional Reveal the answer + AI explanation — free account
9. Which statement is correct? Junior A. @Entity — an annotation that wraps a method in a database transaction, committing on success and rolling back on runtime errors B. @Entity — a transaction setting that suspends any existing transaction and always starts a fresh independent one C. @Entity — an annotation marking a class as a persistent domain object mapped to a database table D. @Entity — the abstraction that generates persistence implementations from repository interfaces, reducing boilerplate data code Reveal the answer + AI explanation — free account
10. What is Derived query method ? Mid A. the abstraction that generates persistence implementations from repository interfaces, reducing boilerplate data code B. a repository method whose database lookup is generated automatically by parsing its name, such as findByLastName C. an annotation letting you attach a custom JPQL or native statement to a repository method D. a transaction setting that suspends any existing transaction and always starts a fresh independent one Reveal the answer + AI explanation — free account
11. Which term means: "a repository method whose database lookup is generated automatically by parsing its name, such as findByLastName"? Mid A. @Query B. Derived query method C. @Transactional D. Propagation.REQUIRES_NEW Reveal the answer + AI explanation — free account
12. Which statement is correct? Mid A. Derived query method — an annotation marking a class as a persistent domain object mapped to a database table B. Derived query method — an annotation letting you attach a custom JPQL or native statement to a repository method C. Derived query method — a repository method whose database lookup is generated automatically by parsing its name, such as findByLastName D. Derived query method — a transaction setting that suspends any existing transaction and always starts a fresh independent one Reveal the answer + AI explanation — free account
13. What is @Query ? Mid A. the abstraction that generates persistence implementations from repository interfaces, reducing boilerplate data code B. a transaction setting that suspends any existing transaction and always starts a fresh independent one C. an annotation that wraps a method in a database transaction, committing on success and rolling back on runtime errors D. an annotation letting you attach a custom JPQL or native statement to a repository method Reveal the answer + AI explanation — free account
14. Which term means: "an annotation letting you attach a custom JPQL or native statement to a repository method"? Mid A. JpaRepository B. @Query C. Spring Data JPA D. Derived query method Reveal the answer + AI explanation — free account
15. Which statement is correct? Mid A. @Query — a repository method whose database lookup is generated automatically by parsing its name, such as findByLastName B. @Query — the interface you extend to inherit ready-made CRUD, paging, and sorting operations for an entity C. @Query — an annotation letting you attach a custom JPQL or native statement to a repository method D. @Query — an annotation that wraps a method in a database transaction, committing on success and rolling back on runtime errors Reveal the answer + AI explanation — free account
16. What is @Transactional ? Mid A. an annotation that wraps a method in a database transaction, committing on success and rolling back on runtime errors B. an annotation marking a class as a persistent domain object mapped to a database table C. a repository method whose database lookup is generated automatically by parsing its name, such as findByLastName D. a transaction setting that suspends any existing transaction and always starts a fresh independent one Reveal the answer + AI explanation — free account
17. Which term means: "an annotation that wraps a method in a database transaction, committing on success and rolling back on runtime errors"? Mid A. Propagation.REQUIRES_NEW B. @Query C. Spring Data JPA D. @Transactional Reveal the answer + AI explanation — free account
18. Which statement is correct? Mid A. @Transactional — a transaction setting that suspends any existing transaction and always starts a fresh independent one B. @Transactional — an annotation that wraps a method in a database transaction, committing on success and rolling back on runtime errors C. @Transactional — an annotation marking a class as a persistent domain object mapped to a database table D. @Transactional — an annotation letting you attach a custom JPQL or native statement to a repository method Reveal the answer + AI explanation — free account
19. What is Propagation.REQUIRES_NEW ? Senior A. a repository method whose database lookup is generated automatically by parsing its name, such as findByLastName B. an annotation that wraps a method in a database transaction, committing on success and rolling back on runtime errors C. an annotation letting you attach a custom JPQL or native statement to a repository method D. a transaction setting that suspends any existing transaction and always starts a fresh independent one Reveal the answer + AI explanation — free account
20. Which term means: "a transaction setting that suspends any existing transaction and always starts a fresh independent one"? Senior A. JpaRepository B. @Query C. Derived query method D. Propagation.REQUIRES_NEW Reveal the answer + AI explanation — free account
21. Which statement is correct? Senior A. Propagation.REQUIRES_NEW — an annotation that wraps a method in a database transaction, committing on success and rolling back on runtime errors B. Propagation.REQUIRES_NEW — a repository method whose database lookup is generated automatically by parsing its name, such as findByLastName C. Propagation.REQUIRES_NEW — a transaction setting that suspends any existing transaction and always starts a fresh independent one D. Propagation.REQUIRES_NEW — the abstraction that generates persistence implementations from repository interfaces, reducing boilerplate data code Reveal the answer + AI explanation — free account