There are many references to deadlock handlers that retry the
transaction automatically.
But IMO a deadlock is the result of a design flaw that should be
fixed.
My applications treat deadlocks like any other runtime error - they
are logged and fixed.
There seems to be a an opinion that deadlocks are inevitable !
This is not true - any scenario resulting in a deadlock can be cured
by adjusting the application.
I have talked with database consultants working for banks that think
deadlocks are an acceptable every day occurrence.
Now that is scary ...