From b2291ff814affcd22bf531a1c9b3a23afe15717c Mon Sep 17 00:00:00 2001 From: Chris Beams Date: Tue, 21 Feb 2012 11:46:42 +0100 Subject: [PATCH] Map ORA-30006 to CannotAcquireLockException as well ORA-00054 is already mapped to CannotAcquireLockException and is described as "resource busy and acquire with NOWAIT specified" As pointed out in the associated JIRA issue, ORA-30006 is quite similar being described as "resource busy; acquire with WAIT timeout expired" This commit maps ORA-30006 to CannotAcquireLockException as well. Issue: SPR-9141 --- .../org/springframework/jdbc/support/sql-error-codes.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-jdbc/src/main/resources/org/springframework/jdbc/support/sql-error-codes.xml b/spring-jdbc/src/main/resources/org/springframework/jdbc/support/sql-error-codes.xml index 9e07f3932b..53311c3010 100644 --- a/spring-jdbc/src/main/resources/org/springframework/jdbc/support/sql-error-codes.xml +++ b/spring-jdbc/src/main/resources/org/springframework/jdbc/support/sql-error-codes.xml @@ -181,7 +181,7 @@ 17002,17447 - 54 + 54,30006 8177