Oracle Error OCI-31007: Attempted to delete non-empty container string/string

Oracle Error Message

OCI-31007: Attempted to delete non-empty container string/string

Reason for the Error

An attempt was made to delete a non-empty container in the XDB hierarchical resolver.

Solution

Either perform a recursive deletion, or first delete the contents of the container.