1.

Which of the following is used to rollback a JDBC transaction?(a) rollback()(b) rollforward()(c) deleteTransaction()(d) RemoveTransaction()

Answer» Correct answer is (a) rollback()

To explain: rollback() method is used to rollback the transaction. It will rollback all the changes made by the transaction.


Discussion

No Comment Found

Related InterviewSolutions