Skip to content

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

Closed
schauder wants to merge 2 commits intomainfrom
issue/xxx-sql-type
Closed

Replaces java.sql.Types constants with java.sql.SQLType values. #1142
schauder wants to merge 2 commits intomainfrom
issue/xxx-sql-type

Conversation

@schauder
Copy link
Copy Markdown
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.

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
Copy Markdown
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
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
Copy Markdown
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
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.

3 participants