I have a scenario where I need to Delete a parent entity and In doing so I need to nullify the references associated with the parent.
e.g. I have two tables/entities Person and Address. Person is the parent and Address is the child (One to Many). Now when I delete Person I need to nullify the person references in Address table.
Do we have any pre-defined annotations to do this Job.
Any help/suggestion is highly appreciated.
Thanks.