Grokking Java Interview Questions
Vote

0% completed

​

Transactions and Isolation Levels

Order 1001 contains 20 apples at 120 cents, so its total is 2400 cents. Saving it takes two statements: one changes the stock of apples from 50 to 30, and the other inserts the order. If the server stops after the first statement, 20 apples are missing and no order explains why.

Relational databases can prevent such half-finished work, and they also control how much concurrent users see of the changes of others. First comes the guarantee itself, then the isolation levels and two ways of locking. The last part repairs an update that disappears.

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content