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 and later
Information in this document applies to any platform.


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(
  at com.sunopsis.jdbc.driver.xml.SnpsXmlStatement.executeQuery(
  at oracle.odi.query.JDBCTemplate.executeQuery(
  at oracle.odi.query.JDBCTemplate.executeQuery(
  at oracle.odi.runtime.agent.execution.sql.SQLDataProvider.readData(
  at oracle.odi.runtime.agent.execution.sql.SQLDataProvider.readData(
  at oracle.odi.runtime.agent.execution.Executor.handleDataMovementTask(
  at oracle.odi.runtime.agent.execution.DataMovementTaskExecutionHandler.handleTask(
  at oracle.odi.runtime.agent.execution.SessionTask.processTask(


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

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