Skip to content
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

JDBC_Connection.rb get_ruby_value_from_result_set doesn't handle BINARY_DOUBLE #2302

Open
mikemattball opened this issue Jul 13, 2022 · 0 comments

Comments

@mikemattball
Copy link

Steps to reproduce

Connect to a database that has a BINARY_DOUBLE data type. Run a select query using that column.

Expected behavior

The actual value from the column should be returned.

Actual behavior

Nil is returned since the type_name of BINARY_DOUBLE is not handled in get_ruby_value_from_result_set.

This is quickly fixed by adding :BINARY_DOUBLE to the :BINARY_FLOAT case.

System configuration

Rails version: 6.1.6

Oracle enhanced adapter version: 6.1.6

Ruby version: JRuby 9.2.20.0

Oracle Database version: Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production

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

No branches or pull requests

1 participant