My Oracle Support Banner

Complex ODI Mapping Containing Reserved Word Names Fails with "ORA-01747: Invalid User.table.column, Table.column, Or Column Specification" (Doc ID 2601330.1)

Last updated on MAY 07, 2020

Applies to:

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

Symptoms

When executing a complex Oracle Data Integrator (ODI) 12c Mapping including several tables and components like Filters and Lookups, the following error occurs:

ODI-1217: Session <MAP_SESSION> fails with return code ODI-1298.
ODI-1226: Step Physical_STEP fails after 1 attempt(s).
ODI-1240: Flow Physical_STEP fails while performing a Merge rows-<IKM_NAME>-Load <TARGET_TABLE> operation. This flow loads target table <TARGET_TABLE>.
ODI-1298: Serial task "SERIAL-MAP_MAIN- (10)" failed because child task "SERIAL-EU-<LOAD_TASK_NAME>" is in error.
ODI-1298: Serial task "SERIAL-EU-<LOAD_TASK_NAME>" failed because child task "Merge rows-<IKM_NAME>-Load <TARGET_TABLE>" is in error.
ODI-1228: Task Merge rows-<IKM_NAME>-Load <TARGET_TABLE> fails on the target connection <TARGET_CONNECTION>.
Caused By: java.sql.SQLSyntaxErrorException: ORA-01747: invalid user.table.column, table.column, or column specification
  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:466)
  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:407)
  at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:1113)
  at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:546)
  at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:269)
  at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:603)
  at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:218)
  at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:31)
  at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:1000)
  at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1316)
  at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:2168)
  at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:2100)
  at oracle.jdbc.driver.OracleStatementWrapper.execute(OracleStatementWrapper.java:363)
  at oracle.odi.runtime.agent.execution.sql.SQLCommand.execute(SQLCommand.java:205)
  ...

Mapping simulation shows a column named DATE, which is a reserved word, and that while DATE is correctly surrounded by quotes for the first couple references, the later references deeper in the mapping where the error is thrown are not.

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.