I have been asked the flowing question in an interview:
“What does it mean to have an isolated
transaction in Java?”
I can think of the ACID properties and Connection interface static fields, though I am unsure what the correct answer to this question is. Can anyone elaborate an answer?
When transaction is isolated it is meant that no external events can affect result of transaction after it started. It should work as if it is the only transaction ran at a time.