Home » JAVA Programming » Java Basic » Question
  1. What does setAutoCommit(false) do?
    1. does not commit transaction automatically after each query
    2. never commits transaction
    3. explicitly commits transaction
    4. commits transaction after each query
    5. None of these
Correct Option: A

setAutoCommit(false) does not commit transaction automatically after each query. That saves lot of time of the execution and hence improves performance.



Your comments will be displayed only after manual approval.