Announcement Announcement Module
Collapse
No announcement yet.
DeadlockLoserDataAccessException not thorwn when deadlock ? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • DeadlockLoserDataAccessException not thorwn when deadlock ?

    Hi , i am using spring 1.1 and hibernate 2.1.8 and DB2. I am getting some deadlock and timeout exception but what i found is my exception are not
    wrapped by Spring's DeadlockLoserDataAccessException. My intention
    is to catch that exception and retry.

    Am i missing something ?

  • #2
    Can you please show the error code and SQL State code for the exception returned by the DB2 driver? Hopefully then we can add it to the codes for DB2 that Spring recognizes.

    Comment


    • #3
      Reason code "00C9008E". SQLSTATE=57033


      Message: Exception during data verification: org.springframework.jdbc.UncategorizedSQLException: (Hibernate operation): encountered SQLException [[IBM][CLI Driver][DB2] SQL0913N Unsuccessful execution caused by deadlock or timeout. Reason code "00C9008E". SQLSTATE=57033 ]; nested exception is COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2] SQL0913N Unsuccessful execution caused by deadlock or timeout.

      Comment

      Working...
      X