"The conversion from UNKNOWN to UNKNOWN is unsupported" Displayed At ODI 11g And 12c Runtime When Loading Data From MySQL BIGINT UNSIGNED DataType Into Microsoft SQLServer INT or BIGINT (Doc ID 1997671.1)

Last updated on JUNE 28, 2016

Applies to:

Oracle Data Integrator - Version 11.1.1.3.0 and later
Information in this document applies to any platform.

Symptoms

The following message is received when running an ODI 11g Integration Interface (or ODI 12c Mapping) for loading data from UNSIGNED BIGINT MySQL source column into Microsoft SQLServer INT (or BIGINT) target:

com.microsoft.sqlserver.jdbc.SQLServerException: The conversion from UNKNOWN to UNKNOWN is unsupported.
    at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:190)
    at com.microsoft.sqlserver.jdbc.DataTypes.throwConversionError(DataTypes.java:1117)
    at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.setObject(SQLServerPreparedStatement.java:991)
    at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.setObjectNoType(SQLServerPreparedStatement.java:926)
    at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.setObject(SQLServerPreparedStatement.java:935)
    at oracle.odi.query.typemapping.PassThroughWriter.setValue(PassThroughWriter.java:62)
    at oracle.odi.query.JDBCTemplate.setValue(JDBCTemplate.java:199)
    at oracle.odi.runtime.agent.execution.sql.SQLCommand.bindResultSetColumns(SQLCommand.java:229)
    at ...

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms