In JPA transaction processing, if the operations execute successfully, you call EntityTransaction method _______ to commit the changes to the database. If any operation fails, you call EntityTransaction method ________ to return the database to its state prior to the transaction.
A) apply, rollback
B) commit, restore
C) apply, restore
D) commit, rollback
Correct Answer:
Verified
Q2: When you used JPA in this chapter,
Q3: The first argument to EntityManager's XE "EntityManager
Q4: Which of the following statements related to
Q5: Which of the following JPA-related statements is
Q6: Which f the following JPA-related statements is
Q8: Which of the following statements is false?
A)
Q9: An object of type _ is used
Q10: Which of the following JPA-related statements in
Q11: For entity classes in JPA, an @NamedQueries
Q12: In JPA, when you compile the entity
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents