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...

One reason to change the name property of an ActiveX Control is so it can be referred to in VBA code

Indicate whether the statement is true or false

Computer Science & Information Technology

What does the expression x \= 10 do?

a. Multiplies 10 by the value of x, and stores the result in x. b. Divides x by 10 and stores the remainder in x. c. Divides x by 10 and stores the integer result in x. d. None of the above.

Computer Science & Information Technology

Pressing [Enter] after a bullet point creates a new bullet point at the same level

Indicate whether the statement is true or false

Computer Science & Information Technology

List two enhanced features in the Windows Server Backup tool in Windows Server 2008.

What will be an ideal response?

Computer Science & Information Technology