ETL Load Failing With Error ORA-00001: Unique Constraint (ODM.ODM_ORG_ENCODE_NUMBER) Violated

(Doc ID 2218600.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Product Lifecycle Analytics - Version 3.4.0 and later
Information in this document applies to any platform.

Symptoms

ETL load is failing on our production OPLA instance with following error:


Error

ODI-1217: Session ODI_INT_ODM_ORGANIZATION_933_CDC (5658113) fails with return code 1.
ODI-1226: Step odi_int_ODM_ORGANIZATION_933_cdc fails after 1 attempt(s).
ODI-1240: Flow odi_int_ODM_ORGANIZATION_933_cdc fails while performing a Integration operation. This flow loads target table ODM_ORGANIZATION.
ODI-1228: Task odi_int_ODM_ORGANIZATION_933_cdc (Integration) fails on the target ORACLE connection TRG_ODMCONN_PHYSICAL.
Caused By: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (ODM.ODM_ORG_ENCODE_NUMBER) violated

  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
  at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
  at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
  at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
  at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
  at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
  at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1115)
  at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)
  at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
  at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3954)
  at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1539)
  at oracle.odi.runtime.agent.execution.sql.SQLCommand.execute(SQLCommand.java:163)
  at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:102)
 




Steps to Reproduce

1. Run ETL Load



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