Transaction Management
Most applications of any significance require you to provide transaction management. In this context, a transaction is any number of operations against a database that must all be performed together or not at all. This type of behavior is termed atomic, in that a transaction can group a set of database updates into one, atomic update. Just to be clear, let’s take the example of a banking application. In this application, money can be transferred from A’s account to B’s account. In the normal course of operations, the money should be taken from A’s account and then placed in B’s account. However, if the money were taken from A’s account and then the server were to crash, B would never receive the funds from A’s account. Clearly, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access