1.

What does setAutoCommit(false) do?(a) commits transaction after each query(b) explicitly commits transaction(c) does not commit transaction automatically after each query(d) never commits transaction

Answer» Correct choice is (c) does not commit transaction automatically after each query

To explain I would say: setAutoCommit(false) does not commit transaction automatically after each query. That saves a lot of time of the execution and hence improves performance.


Discussion

No Comment Found

Related InterviewSolutions