O'Reilly logo

Core Java™ Data Objects by Heiko Bobzin, Michael Vorburger, Keiron McCammon, Sameer Tyagi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

11.1. Transaction Concepts

A transaction can be described as a unit of work that is comprised of several different operations acting on one or more shared system resources and has a predictable outcome. Additionally, this unit of work needs to be governed by ACID properties. The acronym ACID[1] stands for Atomic, Consistent, Isolated, and Durable. These four classical characteristics essentially define the concept of a transaction:

[1] Andreas Reuter, Transaction Processing: Concepts and Techniques (ISBN 1-55860-190-2) Morgan Kauffman.

  • Atomic: The unit of work is atomic in that it is either performed in its entirety or not performed at all. This “all or nothing” properly ensures that in case of failure, changes that occur due to the unit of work ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required