1. Create a term term1 under glossary glossary1 .
2. Create tag tag1.
3. Associate tag1 to term1.
4. Create a hive_db db1 .
5. Associate db1 to term1.
6. Drop db1.
When hard delete is configured , delete db entity operation fails with
Attached the complete stack trace.
In the following scenarios , delete works properly:
1. Deleting the db without any tag/term association
2. Deleting the db with either tag or term association
3. Deleting the db associated to a term and also a tag.
Issue happens only when the entity is associated to a term, which is associated to a tag.