How to restart transactions on deadlock/lock-timeout in Spring?

Viewed 15091

What is the best practice on implementing a transaction restart upon deadlock or lock timeout exceptions when using Spring (specifically the Spring recommended approach: declarative transactions) ?

Thanks,

Asaf

4 Answers
Related