could not remove parents=> child relationship since equals() was not
overridden in beans.
Did the override in Permission.java... have to do the same for all beans