Java Database Connectivity Question:

How do you handle your own transaction?

Java Database Interview Question
Java Database Interview Question

Answer:

Connection Object has a method called setAutocommit(Boolean istrue)
Default is true. Set the Parameter to false , and begin your transaction


Previous QuestionNext Question
What are different types of Transaction Isolation Levels?What is the normal procedure followed by a java client to access the db?