Test: JDBC 2.1 Test
Question 1:
Prev
Next
Question: |
You have to handle an erroneous situation in a transaction. Which method comes handy in this case? |
con.commit(false);
con.commit();
con.rollback();
con.revertback();
con.rollback(true);