-
Notifications
You must be signed in to change notification settings - Fork 50
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
feat: support float32 #1518
feat: support float32 #1518
Conversation
Adds support for the FLOAT32 / real data type.
parameters.setParameter(parameterIndex, value, Types.FLOAT); | ||
parameters.setParameter(parameterIndex, value, Types.REAL); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Types.FLOAT
is a synonym for Types.DOUBLE
in JDBC. Both represent a 64-bit floating point value. Types.REAL
is the type code that should be used for 32-bit floating point values.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with minor comments
Adds support for the FLOAT32 / real data type.