Blog Archives

JTA interview Q&A

Q1. What is a Transaction? What does setAutoCommit do? A1. A transaction is a set of operations that should be completed as a unit. If one operation fails then all the other operations fail as well. For example if you transfer funds between two accounts there will be two operations...

800+ Java Q&As & tutorials