Skip to content

Teradata adapter fails to handle NULL #318

@MMatten

Description

@MMatten

Binding objects to a PreparedStatement fails when calling setObject(<param num>,<object>) when the object is a null reference with the error:

com.teradata.jdbc.jdbc_4.util.JDBCException: [Teradata JDBC Driver] [TeraJDBC 15.00.00.15] [Error 1063] [SQLState HY000] null is not supported as a data value with this variant of the setObject method; use the setNull method or the setObject method with a targetSqlType parameter.

This affects AbstractionDbEnvironment.createStatementWithBoundFixtureSymbols and StatementExecution.setObject.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions