Question 1: DATA JPA - Hibernate ORM Purpose
What is the main purpose of Hibernate ORM in a Spring Data JPA context?
Question 2: DATA JPA - JPA Entity Annotation
Which annotation is used to mark a class as a JPA entity in Hibernate ORM?
Question 3: DATA JPA - Code Snippet (Entity Mapping)
What will the following entity map to in the database?
Question 4: DATA JPA - Entity Life Cycle States
Which of the following is not a valid JPA entity lifecycle state?
Question 5: DATA JPA - Code Snippet (Entity Manager Persist)
What happens when the following code executes?
Question 6: DATA JPA - Entity Manager merge() Method
What does entityManager.merge(entity) do in JPA?
Question 7: DATA JPA - Code Snippet (Remove Entity)
What will happen when this code executes?
Question 8: DATA JPA - @Table Annotation
What is the role of the @Table annotation in JPA?
Question 9: DATA JPA - Lifecycle Callback Annotations
Which JPA annotation can be used to execute logic just before an entity is removed?
Question 10: DATA JPA - Persistence Context
What is the persistence context in JPA?