Java Database Connectivity Question:

Download Job Interview Questions and Answers PDF

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

Download Java Database Interview Questions And Answers PDF

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?