Announcement Announcement Module
Collapse
No announcement yet.
Issue with the DeadlockLoserDataAccessException Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?

    Regards,

    Satya

  • #2
    No there isn't... You could create an aspect (examples enough on the internet and this forum) which does that ...

    Comment

    Working...
    X