title: Hibernate / DB2 -913 deadlock
body: <p>An application deployed on several machines - accesses the same DB Table.
  It reads the MIN row and then deletes that row.</p>
  
  <p>When this happens concurrently, we get a -913 error from DB2 signifying deadlock.</p>
  
  <p>Have tried following options already
  1. locks on row.
  2. re-try mechanism in application code, after the deadlock occurs.</p>
  
  <p>Nothing seems to work.</p>
  
  <p>Any ideas / references / solution?</p>
  
  <p>TY</p>