|
From: Juergen H. <ju...@in...> - 2005-02-22 12:12:44
|
Thomas, everybody, Please have a look at the following JIRA issue: http://opensource.atlassian.com/projects/spring/browse/SPR-733 I agree that DeadlockLoserDataAccessException should be a subclass of ConcurrencyFailureException (which has been introduced in Spring 1.1), and have already changed this locally. However, DeadlockLoserDataAccessException isn't thrown anywhere; SQLErrorCodes does not support it. So as indicated in SPR-733, should we generally throw CannotAcquireLockException in such a case (which currently seems to happen for some databases, as defined in sql-error-codes.xml)? What's the semantic difference between those two exceptions, and is it worth keeping both? Juergen |