I must be missing something here... I have the following code and output. Can you see why Category categoryToBeDeleted is not being deleted from the category se
Category categoryToBeDeleted
If you override equals(), you should override hashCode() also.