-
Notifications
You must be signed in to change notification settings - Fork 132
Add R2DBC-specific exception translation #57
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
Comments
See SPR-17618 (#22150). |
R2DBC decided to introduce an exception hierarchy that simplifies exception translation for client libraries. We're going to adopt subclass-based exception translation once that's in place. See r2dbc/r2dbc-spi#47. |
mp911de
added a commit
that referenced
this issue
Apr 18, 2019
We now use R2DBC's exception hierarchy to translate exceptions into Spring's DataAccessException hierarchy.
schauder
added a commit
that referenced
this issue
Apr 23, 2019
schauder
pushed a commit
that referenced
this issue
Apr 24, 2019
We now use R2DBC's exception hierarchy to translate exceptions into Spring's DataAccessException hierarchy. Original pull request: #97.
Done. |
schauder
added a commit
that referenced
this issue
Apr 30, 2019
schauder
added a commit
that referenced
this issue
Apr 30, 2019
schauder
added a commit
that referenced
this issue
Apr 30, 2019
schauder
added a commit
that referenced
this issue
Apr 30, 2019
schauder
added a commit
that referenced
this issue
Apr 30, 2019
schauder
added a commit
that referenced
this issue
Apr 30, 2019
schauder
added a commit
that referenced
this issue
Apr 30, 2019
schauder
added a commit
that referenced
this issue
Apr 30, 2019
schauder
added a commit
that referenced
this issue
May 6, 2019
schauder
added a commit
that referenced
this issue
May 6, 2019
schauder
added a commit
that referenced
this issue
May 6, 2019
schauder
added a commit
that referenced
this issue
May 6, 2019
schauder
added a commit
that referenced
this issue
May 6, 2019
schauder
added a commit
that referenced
this issue
May 6, 2019
schauder
added a commit
that referenced
this issue
May 6, 2019
schauder
added a commit
that referenced
this issue
May 6, 2019
schauder
added a commit
that referenced
this issue
May 6, 2019
schauder
added a commit
that referenced
this issue
May 6, 2019
schauder
added a commit
that referenced
this issue
May 6, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Right now, we're using Spring Framework's JDBC module to apply exception translation. Spring JDBC is heavily based on JDBC API and it makes little sense to pull JDBC API into R2DBC, especially when running in modularized Java 9+ environments.
We should provide our own exception translation mechanism that is built along the lines of Spring JDBC's
SQLErrorCodes
without using JDBC API.The text was updated successfully, but these errors were encountered: