Skip to content

jdbc: support for DatabaseMetaData.getSQLStateType #250

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

Merged
merged 1 commit into from
Apr 27, 2020

Conversation

nicktorwald
Copy link

Now we use SQLSTATE codes in most of the exceptional cases. To be
consistent with it we need to return an appropriate value from the
database metadata.

This commit changes the constant that says the driver works with
SQLSTATE codes rather than XOpen ones.

Closes #119

Now we use SQLSTATE codes in most of the exceptional cases. To be
consistent with it we need to return an appropriate value from the
database metadata.

This commit changes the constant that says the driver works with
SQLSTATE codes rather than XOpen ones.

Closes #119
@coveralls
Copy link

Coverage Status

Coverage remained the same at 77.66% when pulling 4ae9f91 on nicktorwald/gh-119-sql-state-exceptions into 4ba88fb on master.

Copy link
Member

@Totktonada Totktonada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@Totktonada Totktonada merged commit 545fd9a into master Apr 27, 2020
@Totktonada Totktonada deleted the nicktorwald/gh-119-sql-state-exceptions branch April 27, 2020 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

jdbc: support categorized exceptions and SQLSTATE codes
3 participants