The Need for Transactions
You might be wondering how the average person benefits from transactions. Answering that is best done with an example.
Suppose you're planning a trip to Kansas. You need an airline ticket, hotel reservations, and a rental car reservation. Of course, each one of these must be paid for with a credit card at the time of booking. You call the airline and book a ticket for a time that's convenient, and pay for it with your credit card. You then call the car rental agency and reserve your favorite car for the week, and, of course, guarantee payment with a credit card. But when you call the hotel, you find that you can't get a room for the period of time that matches your airline and car reservations.
You're going to have to ...
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