Skip to content

Replaces java.sql.Types constants with java.sql.SQLType values. #1142

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
wants to merge 2 commits into from

Conversation

schauder
Copy link
Contributor

java.sql.Types constants are int values and therefore make it tedious to read and debug the code.
SQLType values are mostly enum constants which are much nicer to use.

Verified

This commit was signed with the committer’s verified signature. The key has expired.
schauder Jens Schauder

Verified

This commit was signed with the committer’s verified signature. The key has expired.
schauder Jens Schauder
java.sql.Types constants are int values and therefore make it tedious to read and debug the code.
SQLType values are mostly enum constants which are much nicer to use.
Copy link
Contributor

@gregturn gregturn left a comment

Choose a reason for hiding this comment

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

Looks great.

schauder added a commit that referenced this pull request Feb 4, 2022

Verified

This commit was signed with the committer’s verified signature. The key has expired.
schauder Jens Schauder
java.sql.Types constants are int values and therefore make it tedious to read and debug the code.
SQLType values are mostly enum constants which are much nicer to use.

Original pull request #1142
@schauder
Copy link
Contributor Author

schauder commented Feb 4, 2022

Thanks for the review. I merged it into main.

@schauder schauder closed this Feb 4, 2022
@schauder schauder added this to the 2.4 M3 (2021.2.0) milestone Feb 4, 2022
schauder added a commit that referenced this pull request Feb 15, 2022

Verified

This commit was signed with the committer’s verified signature. The key has expired.
schauder Jens Schauder
java.sql.Types constants are int values and therefore make it tedious to read and debug the code.
SQLType values are mostly enum constants which are much nicer to use.

Original pull request #1142
@schauder schauder deleted the issue/xxx-sql-type branch March 1, 2022 08:04
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.

None yet

2 participants