How to solve ORA-25188: Cannot drop/disable/defer the primary key constraint for index-organized tables or sorted hash cluster

This time I was trying to reproduce an specific scenario and all of a sudden I was getting ORA-25188 in Tomcat’s console. A quick search on google revealed this method:

  1.  Connect as sysdba
    C:Userszulu>sqlplus / as sysdba
  2. Run the command, wait for the confirmation message
    SQL> PURGE DBA_RECYCLEBIN;
    DBA Recyclebin purged.

That’s it, at least for me it worked but in seems that this is not a definitive solution.

Sources

  • http://stackoverflow.com/questions/17011783/oracle-error-ora-25188-spontaneously-appearing-for-unknown-reasons

Leave a Comment

Your email address will not be published. Required fields are marked *