What is cascade persist?
Answer / Prem Pal
Cascade Persist is a strategy used in Hibernate for managing relationships between entities. When enabled, it allows the parent entity to automatically save (persist) its child entities when it gets saved or updated. This can help simplify the process of managing complex relationships.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is hibernate dialect used for?
Which method is used to remove a persistent instance from the datastore?
What is a polymorphic association?
How can we map the classes as immutable?
What is one-to-many association in hibernate?
What is difference between save and persist in hibernate?
What is the file extension you use for hibernate mapping file?
What is hibernate dtd?
What is session in hibernate and how to get it?
What is unidirectional causality?
What is orm principle?
What are fetch types in hibernate?