"unexpected token: VALUE" in ODI 12.2.1.3 When Executing XML Mapping Previously Working in Earlier Version

(Doc ID 2374272.1)

Last updated on MARCH 16, 2018

Applies to:

Oracle Data Integrator Cloud Service - Version 17.1.3 and later
Oracle Data Integrator - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Symptoms

After migrating a mapping using an XML source from Oracle Data Integrator (ODI) 12.2.1.2.6 to ODI 12.2.1.3.0, the upgraded mapping now fails with the following error during the 'Insert New Rows' task:

ODI-1298: Serial task "SERIAL-MAP_MAIN- (50)" failed because child task "SERIAL-EU-FTP_SRC_QB_UNIT (60)" is in error.
ODI-1298: Serial task "SERIAL-EU-FTP_SRC_QB_UNIT (60)" failed because child task "Insert new rows-LKM SQL to SQL (Built-In)-Load COLDATA0_AP (70)" is in error.
ODI-1227: Task Insert new rows-LKM SQL to SQL (Built-In)-Load COLDATA0_AP fails on the source connection XML_Data_Connection.
Caused By: java.sql.SQLSyntaxErrorException: unexpected token: VALUE : line: 6
  at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
  at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
  at org.hsqldb.jdbc.JDBCStatement.fetchResult(Unknown Source)
  at org.hsqldb.jdbc.JDBCStatement.executeQuery(Unknown Source)
  at com.sunopsis.jdbc.driver.xml.SnpsXmlStatementRedirector.executeQuery(SnpsXmlStatementRedirector.java:126)
  ...
Caused by: org.hsqldb.HsqlException: unexpected token: VALUE : line: 6
  at org.hsqldb.error.Error.parseError(Unknown Source)
  at org.hsqldb.ParserBase.unexpectedToken(Unknown Source)
  at org.hsqldb.ParserDQL.XreadSelect(Unknown Source)
  at org.hsqldb.ParserDQL.XreadQuerySpecification(Unknown Source)
  at org.hsqldb.ParserDQL.XreadSimpleTable(Unknown Source)
  at org.hsqldb.ParserDQL.XreadQueryPrimary(Unknown Source)
  at org.hsqldb.ParserDQL.XreadQueryTerm(Unknown Source)
  at org.hsqldb.ParserDQL.XreadQueryExpressionBody(Unknown Source)
  at org.hsqldb.ParserDQL.XreadQueryExpression(Unknown Source)
  at org.hsqldb.ParserDQL.compileCursorSpecification(Unknown Source)
  at org.hsqldb.ParserCommand.compilePart(Unknown Source)
  at org.hsqldb.ParserCommand.compileStatements(Unknown Source)
  at org.hsqldb.Session.executeDirectStatement(Unknown Source)
  at org.hsqldb.Session.execute(Unknown Source)
  ... 24 more

The mapping reads from an XML file using "LKM SQL to SQL (Built-in)" and generates this SQL code that results in the above error:

SELECT
  COLDATA0.COLDATAORDER COLDATAORDER ,
  COLDATA0.COLID COLID ,
  COLDATA0.DATAROWFK DATAROWFK ,
  COLDATA0."VALUE" VALUE_
FROM
  QBXMCHAIONETESTFTP.COLDATA0 COLDATA0

Changes

 

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