java.sql.SQLIntegrityConstraintViolationException: ORA-02291: integrity constraint (IAMTEST_OIM.FK_ORC_ORD) violated - parent key n ot found ORA-06512: at "IAMTEST_OIM.OIM_USER_MGMT", line 858 ORA-06512: at line 1 Error Code: 2291 Call: BEGIN OIM_USER_MGMT.BulkUserModify(p_intUserKey=>?, p_arUSRList=>?, p_arColumnlist=>?, p_arColumnValue=>?, p_arMLSColLocaleValue=>?, p_intReturnC ode_out=>?, p_strErrMessage_out=>?); END; bind => [1, oracle.sql.ARRAY@199c54c1, oracle.sql.ARRAY@199c6768, oracle.sql.ARRAY@199c489c, oracle.sql.ARRAY@199c6167, => p_intReturnCode_out, => p_strErrMessage_out] Query: DataReadQuery()

Oracle Community | 947122 | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Error updating user's Organization

    Oracle Community | 5 years ago | 947122
    java.sql.SQLIntegrityConstraintViolationException: ORA-02291: integrity constraint (IAMTEST_OIM.FK_ORC_ORD) violated - parent key n ot found ORA-06512: at "IAMTEST_OIM.OIM_USER_MGMT", line 858 ORA-06512: at line 1 Error Code: 2291 Call: BEGIN OIM_USER_MGMT.BulkUserModify(p_intUserKey=>?, p_arUSRList=>?, p_arColumnlist=>?, p_arColumnValue=>?, p_arMLSColLocaleValue=>?, p_intReturnC ode_out=>?, p_strErrMessage_out=>?); END; bind => [1, oracle.sql.ARRAY@199c54c1, oracle.sql.ARRAY@199c6768, oracle.sql.ARRAY@199c489c, oracle.sql.ARRAY@199c6167, => p_intReturnCode_out, => p_strErrMessage_out] Query: DataReadQuery()

    Root Cause Analysis

    1. java.sql.SQLIntegrityConstraintViolationException

      ORA-02291: integrity constraint (IAMTEST_OIM.FK_ORC_ORD) violated - parent key n ot found ORA-06512: at "IAMTEST_OIM.OIM_USER_MGMT", line 858 ORA-06512: at line 1 Error Code: 2291 Call: BEGIN OIM_USER_MGMT.BulkUserModify(p_intUserKey=>?, p_arUSRList=>?, p_arColumnlist=>?, p_arColumnValue=>?, p_arMLSColLocaleValue=>?, p_intReturnC ode_out=>?, p_strErrMessage_out=>?); END; bind => [1, oracle.sql.ARRAY@199c54c1, oracle.sql.ARRAY@199c6768, oracle.sql.ARRAY@199c489c, oracle.sql.ARRAY@199c6167, => p_intReturnCode_out, => p_strErrMessage_out] Query: DataReadQuery()

      at org.eclipse.persistence.exceptions.DatabaseException.sqlException()
    2. EclipseLink (non-OSGi)
      AbstractSession.executeSelectingCall
      1. org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:324)
      2. org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:797)
      3. org.eclipse.persistence.internal.databaseaccess.DatabasePlatform.executeStoredProcedure(DatabasePlatform.java:1991)
      4. org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:593)
      5. org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:526)
      6. org.eclipse.persistence.sessions.server.ServerSession.executeCall(ServerSession.java:529)
      7. org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:206)
      8. org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:192)
      9. org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeSelectCall(DatasourceCallQueryMechanism.java:263)
      10. org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeSelect(DatasourceCallQueryMechanism.java:245)
      11. org.eclipse.persistence.queries.DataReadQuery.executeNonCursor(DataReadQuery.java:192)
      12. org.eclipse.persistence.queries.DataReadQuery.executeDatabaseQuery(DataReadQuery.java:148)
      13. org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:740)
      14. org.eclipse.persistence.queries.DataReadQuery.execute(DataReadQuery.java:134)
      15. org.eclipse.persistence.internal.sessions.AbstractSession.internalExecuteQuery(AbstractSession.java:2392)
      16. org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1291)
      17. org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1273)
      18. org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1233)
      19. org.eclipse.persistence.internal.sessions.AbstractSession.executeSelectingCall(AbstractSession.java:1397)
      19 frames
    3. oracle.iam.oimdataproviders
      OIMUserDataProvider.modify
      1. oracle.iam.oimdataproviders.impl.OIMUserDataProvider.modifyProcedureCall(OIMUserDataProvider.java:721)
      2. oracle.iam.oimdataproviders.impl.OIMUserDataProvider.modify(OIMUserDataProvider.java:578)
      2 frames
    4. oracle.iam.platform
      DefaultActionHandler.execute
      1. oracle.iam.platform.entitymgr.impl.EntityManagerImpl.modifyEntity(EntityManagerImpl.java:388)
      2. oracle.iam.platform.kernel.impl.EntityDefaultActionHandler.execute(EntityDefaultActionHandler.java:41)
      3. oracle.iam.platform.kernel.impl.DefaultActionHandler.execute(DefaultActionHandler.java:41)
      3 frames
    5. oracle.iam.identity
      ModifyUserActionHandler.execute
      1. oracle.iam.identity.usermgmt.impl.handlers.modify.ModifyUserActionHandler.execute(ModifyUserActionHandler.java:108)
      2. oracle.iam.identity.usermgmt.impl.handlers.modify.ModifyUserActionHandler.execute(ModifyUserActionHandler.java:56)
      2 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor685.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    7. oracle.iam.platform
      EventHandlerDynamicProxy.invoke
      1. oracle.iam.platform.kernel.impl.EventHandlerDynamicProxy.invoke(EventHandlerDynamicProxy.java:30)
      1 frame