My Oracle Support Banner

Template-style "IKM Oracle Incremental Update" Generates Incorrect Inline Query With DUAL (Doc ID 2283618.1)

Last updated on JUNE 16, 2022

Applies to:

Oracle Data Integrator - Version 12.2.1.0.0 to 12.2.1.2.8 [Release 12c]
Information in this document applies to any platform.

Symptoms

Having an Oracle Data Integrator (ODI) 12c Mapping with an expression as source, and an Oracle Datastore as target.

When component-style "IKM Oracle Update" is being used, the Mapping execution succeeds, and the generated SQL code is correct.

When template-style "IKM Oracle Incremental Update" is used instead, the Mapping execution fails, and the SQL code generated on task "Insert flow into I$" is incorrect:

/* DETECTION_STRATEGY = NOT_EXISTS */
insert into <NAME>.I$_<NAME>
...
from {#NL#}
$[QUERY.getConstantFromClauseText(false)]
where (1=1)
...

Error message:

ODI-1228: Task Insert flow into I$ table-IKM Oracle Incremental Update- fails on the target connection <NAME>.
Caused By: java.sql.SQLException: Non supported SQL92 token at position: 180
  at oracle.jdbc.driver.OracleSql.handleODBC(OracleSql.java:1522)
  at oracle.jdbc.driver.OracleSql.parse(OracleSql.java:1393)
  at ...

Changes

 

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
Changes
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.