My Oracle Support Banner

What Loggers To Set When Import Fails: ORA-02291: Integrity Constraint (OIM.FK_MAV_ADV) Violated - Parent Key Not Found (Doc ID 2577171.1)

Last updated on AUGUST 18, 2019

Applies to:

Identity Manager - Version 11.1.2.2.0 and later
Information in this document applies to any platform.

Goal

What loggers to turn on to see the bind variables for the following error when importing XML into OIM.

Class/Method: tcDataBase/writeStatement encounter some problems: ORA-02291: integrity constraint (DEV_OIM.FK_MAV_ADV) violated - parent key not found[[
 java.sql.SQLIntegrityConstraintViolationException: ORA-02291: integrity constraint (DEV_OIM.FK_MAV_ADV) violated - parent key not found

  at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:495)
  at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:447)
  at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:1055)
  at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:624)
...
  at weblogic.work.ExecuteThread.execute(ExecuteThread.java:420)
  at weblogic.work.ExecuteThread.run(ExecuteThread.java:360)
Caused by: Error : 2291, Position : 0, Sql = insert into mav (MAV_KEY, MIL_KEY, ADV_KEY, MAV_MAP_TO, MAV_MAP_QUALIFIER, MAV_MAP_VALUE, MAV_MAP_OLD_VALUE, MAV_CREATE, MAV_CREATEBY, MAV_UPDATE
, MAV_UPDATEBY, mav_rowver) values (:1 , :2 , :3 , :4 , :5 , :6 , :7 , :8 , :9 , :10 , :11 , :12 ), OriginalSql = insert into mav (MAV_KEY, MIL_KEY, ADV_KEY, MAV_MAP_TO, MAV_MAP_QUALIFIER, M
AV_MAP_VALUE, MAV_MAP_OLD_VALUE, MAV_CREATE, MAV_CREATEBY, MAV_UPDATE, MAV_UPDATEBY, mav_rowver) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?), Error Msg = ORA-02291: integrity constraint (DEV_OIM.FK_MAV_ADV) violated - parent key not found
  at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:499)
 

Solution

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
Goal
Solution


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