Jun 29th, 2012, 01:37 PM
Issue with the DeadlockLoserDataAccessException
We are using Spring 3.1.1 and Spring JDBC. We are using the annotation based Spring transaction. We are getting this exception DeadlockLoserDataAccessException when concurrent requests are received. I understand that this exception causes the transaction to roll back.
I found in the Spring batch forums that they can configure the retry for the transactions to be committed successfully.
Is there a way to configure the retries in the Spring JDBC transaction annotations?
Jul 2nd, 2012, 01:58 AM
No there isn't... You could create an aspect (examples enough on the internet and this forum) which does that ...
Tags for this Thread