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

d. commit, rollback

Computer Science & Information Technology

You might also like to view...

Outlook displays a ________ box indicating that you are permanently deleting all the items in the Deleted Items folder.

a. FYI b. warning c. confirmation d. important message

Computer Science & Information Technology

Each time an Access database is opened, the Message Bar displays a security message advising

that certain content has been disabled. Indicate whether the statement is true or false

Computer Science & Information Technology