Exam 2v0-7222 All QuestionsBrowse all questions from this exam
Question 38

Which two statements are true about Spring Boot and Spring Data JPA? (Choose two.)

    Correct Answer: A, B

    Spring Data JPA allows customization using @EntityScan and properties under spring.jpa.*. Furthermore, any Hibernate property can be configured using the prefix spring.jpa.properties.xxx. Spring Data JPA is not the only implementation for relational databases; there are also other Spring Data modules for non-relational databases like MongoDB. Additionally, embedded databases like H2, HSQLDB, and Derby are typically re-created at startup unless configured otherwise.

Discussion
Tolo01Options: AB

These are correct

saJAvaOptions: BE

correct

rhuancaOptions: AB

hy not A and B . C. not sure but it is possible with additional modules work with different Data bases non relational like MongoDB E. Embedded databases (H2, HSQLDB, Derby) are re-created during the startup by default. However, this behavior can be controlled using the spring.datasource.initialization-mode property.