Oracle Error ORA-02439: Unique index on a deferrable constraint is not allowed

Oracle Error Message

ORA-02439: Unique index on a deferrable constraint is not allowed

Reason for the Error

attempted to enable a deferrable primary key/unique constraint that has an existing unique index on the constraint columns.

Solution

Drop the index on the constraint columns or make the constraint not deferrable.