ODI 12.2.1.x: Delete Mapping Error "ORA-02292: integrity constraint (WORKREPO.FK_MAP_CONN_MAP) violated – child record found"

(Doc ID 2329587.1)

Last updated on DECEMBER 19, 2017

Applies to:

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

Symptoms

When attempting to delete an imported mapping containing a reusable mapping in Oracle Data Integrator (ODI) 12.2.1, the following error occurs.

ODI-26184: SQL error occurred. See error details for more information.

java.lang.RuntimeException: com.sunopsis.dwg.SQLWorkReposException:
ORA-02292: integrity constraint (WORKREPO.FK_MAP_CONN_MAP) violated – child record found
  at com.sunopsis.graphical.core.DwgObjectDeleterService$2.doInTransaction(DwgObjectDeleterService.java:649)
  at oracle.odi.core.persistence.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:100)
  at com.sunopsis.graphical.core.DwgObjectDeleterService.deleteObject(DwgObjectDeleterService.java:632)
  at com.sunopsis.graphical.core.DwgObjectDeleterService.access$200(DwgObjectDeleterService.java:120)
  at com.sunopsis.graphical.core.DwgObjectDeleterService$1.doInBackground(DwgObjectDeleterService.java:329)
  at oracle.odi.ui.framework.AbsUIRunnableTask.run(AbsUIRunnableTask.java:258)
  at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:961)
  at java.lang.Thread.run(Thread.java:745)
Caused by: com.sunopsis.dwg.SQLWorkReposException: ORA-02292: integrity constraint (WORKREPO.FK_MAP_CONN_MAP) violated – child record found
  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:466)
  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:407)
  at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:1113)
  at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:546)
  at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:269)
  at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:603)
  at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:234)
  at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:55)
  at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1006)
  at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1316)
  at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:5010)
  at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:5136)
  at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1519)
  at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:498)
  at oracle.ucp.jdbc.proxy.StatementProxyFactory.invoke(StatementProxyFactory.java:353)
  ...

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