In JPA transaction processing, if the operations execute successfully, you call EntityTransaction method _______ to commit the changes to the da-tabase. 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

Computer Science & Information Technology

You might also like to view...

Which Word style type applies paragraph formatting to the entire paragraph, but only applies character formatting to selected text in paragraph?

A) List B) Linked C) Table D) Sentence

Computer Science & Information Technology

Which language was developed by Microsoft in the early 1990s to simplify the development of Windows applications?

a. Visual C#. b. Python. c. Objective-C. d. Visual Basic.

Computer Science & Information Technology