Results 1 to 2 of 2

Thread: Issue with the DeadlockLoserDataAccessException

  1. #1

    Exclamation 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. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,695

    Default

    No there isn't... You could create an aspect (examples enough on the internet and this forum) which does that ...
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •