Data base deadlocks. How to deal with them (retries)
authorgu.martinm@gmail.com <gu.martinm@gmail.com>
Thu, 9 Oct 2014 15:22:47 +0000 (17:22 +0200)
committergu.martinm@gmail.com <gu.martinm@gmail.com>
Thu, 9 Oct 2014 15:22:47 +0000 (17:22 +0200)
commited523de8ef60c1f969521754de3b407f6d5cb16b
treeda968d86613570e82ef740c047b8980c96ade874
parenteab9b906a5d7550f40b929a15ec8d76fddcf75ba
Data base deadlocks. How to deal with them (retries)

Create deadlocks
SpringJava/DeadLocksSQL/src/main/java/de/example/sql/deadlocks/Main.java
SpringJava/DeadLocksSQL/src/main/java/de/example/sql/deadlocks/annotation/DeadlockRetry.java
SpringJava/DeadLocksSQL/src/main/java/de/example/sql/deadlocks/annotation/GuardedBy.java [new file with mode: 0644]
SpringJava/DeadLocksSQL/src/main/java/de/example/sql/deadlocks/annotation/ThreadSafe.java [new file with mode: 0644]
SpringJava/DeadLocksSQL/src/main/java/de/example/sql/deadlocks/example/FirstTransaction.java
SpringJava/DeadLocksSQL/src/main/java/de/example/sql/deadlocks/example/SecondTransaction.java
SpringJava/DeadLocksSQL/src/main/java/de/example/sql/deadlocks/gate/ThreadGate.java [new file with mode: 0644]