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

When recording changes in OpenOffice Writer, each change is marked by a ________ in the left margin

A) bold asterisk B) horizontal line C) vertical line D) round dot

Computer Science & Information Technology

In IPv6, which address contains all zeros and can be represented as two colon characters (::) in normal notation?

A. anycast B. broadcast C. multicast D. unspecified

Computer Science & Information Technology

What are the different levels at which a path can be selected?

What will be an ideal response?

Computer Science & Information Technology

In general, parallel systems can be put into two broad categories: ____ level parallelism and instruction level parallelism.

A. resource B. register C. data D. task

Computer Science & Information Technology