Java Database Connectivity Question:

How do you handle your own transaction?

Tweet Share WhatsApp

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 PDF Read All 15 Java Database Questions
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?