ACID Properties

There are four required properties that a transaction has to fulfill in order to maintain data integrity. These properties, also called ACID properties, are as follows:

  • Atomicity— A transaction has to be either completely done or completely undone. For example: While withdrawing money from an ATM, a customer's operation details, along with his card number and PIN are verified. The bank approves the transaction, performs the steps to process the transaction, and finally the ATM dispenses the money. Atomicity here means that either all of these steps have been fully completed or they have all been completely rolled back.

  • Consistency— A transaction must preserve its integrity constraints. That is to say, if there is a failure at any ...

Get Sams Teach Yourself BEA WebLogic Server 7.0™ in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.