Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map Oracle's ORA-30006 to Spring's CannotAcquireLockException [SPR-9141] #13780

Closed
spring-projects-issues opened this issue Feb 20, 2012 · 1 comment
Labels
type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

Hideyuki Suzumi opened SPR-9141 and commented

ORA-00054 has been translated into a CannotAcquireLockException.
ORA-30006 is a similar error, it has not been translated into a CannotAcquireLockException.


No further details from SPR-9141

@spring-projects-issues
Copy link
Collaborator Author

Chris Beams commented

Good point, thanks!

commit b2291ff814affcd22bf531a1c9b3a23afe15717c
Author: Chris Beams <cbeams@vmware.com>
Date:   Tue Feb 21 11:46:42 2012 +0100

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant