We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents da938ff + 5765c83 commit 139b38bCopy full SHA for 139b38b
HibernateSpringBootDeadlockExample/README.md
@@ -4,7 +4,7 @@
4
5
**Key points:**
6
- start *Transaction (A)* and trigger a `SELECT` with `PESSIMISTIC_WRITE` to acquire an exclusive lock to table `author`
7
-- *Transaction (A)* update `author` genre with success and sleeps for 10s
+- *Transaction (A)* update `author` genre with success and sleeps for 10s
8
- after 5s, start a concurrent *Transaction B* that trigger a `SELECT` with `PESSIMISTIC_WRITE` to acquire an exclusive lock to table `book`
9
- *Transaction (B)* update `book` title with success and sleeps for 10s
10
- *Transaction (A)* wakes up and attempt to update the book but it cannot acquire the lock holded by *Transaction (B)*
0 commit comments