Multiple Choice
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
Correct Answer:
Verified
Q5: Which of the following statements is false?<br>A)
Q6: Which of the following JPA-related statements in
Q7: When you used JPA in this chapter,
Q8: Which of the following JPA-related statements is
Q9: The first argument to EntityManager's XE "EntityManager
Q11: In JPA, when you compile the entity
Q12: Which of the following statements related to
Q13: With JPA, as part of a persistence
Q14: The JPA annotation @Basic specifies whether the
Q15: Which f the following JPA-related statements is