Skip to content

Add SQL error code mapping for SAP HANA database [SPR-11770] #16392

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

Closed
spring-projects-issues opened this issue May 8, 2014 · 8 comments
Closed
Assignees
Labels
in: data Issues in data modules (jdbc, orm, oxm, tx) type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented May 8, 2014

Andrew Clemons opened SPR-11770 and commented

Mapping of SAP HANA database error codes to Spring DataAccessExceptions


Reference URL: http://help.sap.com/saphelp_hanaplatform/helpdata/en/20/a78d3275191014b41bae7c4a46d835/content.htm

Attachments:

Issue Links:

@spring-projects-issues
Copy link
Collaborator Author

Andrew Clemons commented

sql-error-codes.xml with SAP HANA JDBC error codes

@spring-projects-issues
Copy link
Collaborator Author

@spring-projects-issues
Copy link
Collaborator Author

Andrew Clemons commented

Sorry, I thought I did for another issue but I hadn't. I just signed it now.

@spring-projects-issues
Copy link
Collaborator Author

Stéphane Nicoll commented

Thanks. You are suggesting codes that I can't find in the link you provided. Can you explain a bit more where this is coming from? (-11210 for instance).

@spring-projects-issues
Copy link
Collaborator Author

Andrew Clemons commented

I need to check again. I have been using this mapping for about 6 months, but the link I bookmarked gives me a 404. It was the documentation for SP6. The link I searched for and linked to here seems to be for SP7. Let me run a couple of tests. I do remember getting some exceptions though that weren't in the previous table. Thanks.

@spring-projects-issues
Copy link
Collaborator Author

Andrew Clemons commented

Updated mapping with comments for missing entries

@spring-projects-issues
Copy link
Collaborator Author

Andrew Clemons commented

I pushed the test case I was using before to my github account:
https://github.com/aclemons/spring-jdbc-hdb-test.git

I also uploaded an updated mapping here with comments for the error codes missing from the SAP documentation.

@spring-projects-issues
Copy link
Collaborator Author

Stéphane Nicoll commented

The sql error codes for SAP Hana have been added and will be available in the next 4.1.0.BUILD-SNAPSHOT.

Thanks a lot for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: data Issues in data modules (jdbc, orm, oxm, tx) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants