OHF 7.1.2 Upgrade - ORA-02443: Cannot drop constraint - nonexistent constraint

(Doc ID 2314695.1)

Last updated on NOVEMBER 14, 2017

Applies to:

Oracle Healthcare Foundation - Version 7.1.1 to 7.1.2 [Release 7.1]
Information in this document applies to any platform.

Symptoms

When attempting to upgrade to OHF 7.1.1, the installer failed when running HDM install_ddl.sql fails with the following error.

1 Errors

*************************************************************************************************************************
Line 473016: FAIL 1125: 'ORA-02443: Cannot drop constraint - nonexistent constraint', Rule 'pragma err forever ^ORA-.*'
*************************************************************************************************************************

SQL>
SQL> ---------------------------
SQL> --Changed TABLE
SQL> --HDM_PRTY_ID
SQL> ---------------------------
SQL> ALTER TABLE HDM_PRTY_ID DROP CONSTRAINT HDM_PRTY_ID_FK9;
ALTER TABLE HDM_PRTY_ID DROP CONSTRAINT HDM_PRTY_ID_FK9
  *
ERROR at line 1:
ORA-02443: Cannot drop constraint - nonexistent constraint

SQL> ALTER TABLE HDM_PRTY_ID ADD CONSTRAINT HDM_PRTY_ID_FK9 FOREIGN KEY (PRTY_ID,PRTY_VN) REFERENCES HDM_PRTY (PRTY_ID,PRTY_VN) DISABLE;



STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Run the installer
2. Installer fails




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