My Oracle Support Banner

Executing Mapping in ODI 12c Imported from 10g/11g Interface with XML Source Results in "user lacks privilege or object not found" (Doc ID 2659838.1)

Last updated on APRIL 20, 2020

Applies to:

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

Symptoms

When executing an Oracle Data Integrator (ODI) 12c mapping that loads data from an XML file into an Oracle table, the following error occurs during the Loading phase:

ODI-1227: Task Load data-LKM SQL to Oracle- fails on the source connection <CONNECTION>.
Caused By: java.sql.SQLSyntaxErrorException: user lacks privilege or object not found: <ROOT_ELEMENT>_<TABLE>.<ATTRIBUTE>
  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)
  at com.sunopsis.jdbc.driver.xml.SnpsXmlStatement.executeQuery(SnpsXmlStatement.java:49)
  at oracle.odi.query.JDBCTemplate.executeQuery(JDBCTemplate.java:196)
  at oracle.odi.query.JDBCTemplate.executeQuery(JDBCTemplate.java:204)
  at oracle.odi.runtime.agent.execution.sql.SQLDataProvider.readData(SQLDataProvider.java:100)
  at oracle.odi.runtime.agent.execution.sql.SQLDataProvider.readData(SQLDataProvider.java:38)
  at oracle.odi.runtime.agent.execution.Executor.handleDataMovementTask(Executor.java:309)
  at oracle.odi.runtime.agent.execution.DataMovementTaskExecutionHandler.handleTask(DataMovementTaskExecutionHandler.java:51)
  at oracle.odi.runtime.agent.execution.SessionTask.processTask(SessionTask.java:206)
  ...

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
 Option One
 Option Two
References


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