InterviewSolution
Saved Bookmarks
| 1. |
Which of the following is used to rollback a JDBC transaction?(a) rollback()(b) rollforward()(c) deleteTransaction()(d) RemoveTransaction()The question was posed to me in an internship interview.This intriguing question originated from JDBC in section Java Beans & JDBC of Java |
|
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. |
|