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
  1. Run the command, wait for the confirmation message
DBA Recyclebin purged.

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