Skip to content

JDBC_Connection.rb get_ruby_value_from_result_set doesn't handle BINARY_DOUBLE #2302

@mikemattball

Description

@mikemattball

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions