posted 14 years ago
Hi,
I have a Parent child relationship between two entities. I have cascade = all JPA property between these two entities.
I am doing parent.getChildren().add(child) to add children to the parent class and saving the parent entity which works great.
But, when i do parent.getChildren().remove(child) and save the parent the child record is not removed. What should i do to remove the child?
Thanks,