adspace
Answer Posted / Shrishti
In a relational database, it is generally not recommended to delete a foreign key directly. Instead, you should first remove the referenced records in the parent table before deleting the record in the child table that contains the foreign key. In Hibernate, this can be achieved using cascade operations.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers