Skip to content

Commit b2291ff

Browse files
committed
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
1 parent 4df2a14 commit b2291ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-jdbc/src/main/resources/org/springframework/jdbc/support/sql-error-codes.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@
181181
<value>17002,17447</value>
182182
</property>
183183
<property name="cannotAcquireLockCodes">
184-
<value>54</value>
184+
<value>54,30006</value>
185185
</property>
186186
<property name="cannotSerializeTransactionCodes">
187187
<value>8177</value>

0 commit comments

Comments
 (0)