What is cascade type?
Answer / Dileep Yadav
Cascade type determines what happens to associated entities when the parent entity is manipulated. For example, CASCADE_PERSIST means that a new child entity will be created along with the parent if the parent is persisted, and CASCADE_REMOVE means that the child entity will also be removed when the parent is deleted.
| Is This Answer Correct ? | 0 Yes | 0 No |
How does hibernate useful in mapping object and its relations?
What is persistence context in hibernate?
What is hibernate session factory?
What is use of hibernate session merge() call?
What happens if hibernate session is not closed?
Mention two components of hibernate configuration object.
What is a pojo class in hibernate?
Why do we need hibernate framework?
What are the fetching strategies supported by hibernate?
Why do we use cascade in hibernate?
How to configure second level cache in hibernate?
Is orm slow?