adplus-dvertising
frame-decoration

Question

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: (c).does not commit transaction automatically after each query

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What does setAutoCommit(false) do?

Similar Questions

Discover Related MCQs

Q. Which of the following is used to call stored procedure?

Q. Which of the following is used to limit the number of rows returned?

Q. Which of the following is method of JDBC batch process?

Q. Which of the following is used to rollback a JDBC transaction?

Q. Which of the following is not a JDBC connection isolation levels?

Q. Which of the below is not a valid design pattern?

Q. Which of the below author is not a part of GOF (Gang of Four)?

Q. Which of the below is not a valid classification of design pattern?

Q. Which design pattern provides a single class which provides simplified methods required by client and delegates call to those methods?

Q. Which design pattern ensures that only one object of particular class gets created?

Q. Which design pattern suggest multiple classes through which request is passed and multiple but only relevant classes carry out operations on the request?

Q. Which design pattern represents a way to access all the objects in a collection?

Q. What does MVC pattern stands for?

Q. Is design pattern a logical concept.

Q. Which design pattern works on data and action taken based on data provided?

Q. Which of below is not a dependency management tool?

Q. Which of the following is not a maven goal?

Q. Which file is used to define dependency in maven?

Q. Which file is used to specify the packaging cycle?

Q. Which environment variable is used to specify the path to maven?