What is automatic dirty checking in hibernate?
Answer / Zainul Abdin
Automatic dirty checking in Hibernate is a mechanism that helps to identify the changed, added, or deleted entities since the session was opened. It does this by comparing the state of an entity object at the time of its association with the Session (when it's loaded or saved) with its current state. If there are any differences, the entity is considered 'dirty'. This feature helps Hibernate to automatically generate SQL updates, inserts, and deletes when needed.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is transient instance state in hibernate?
What is hibernate flush?
Explain some of the elements of hbm.xml?
How to integrate hibernate and spring?
What is callback interface in hibernate?
Is it possible to perform collection mapping with one-to-one and many-to-one?
What is hibernate and why it is used?
How many stages are there in hibernate inheritance?
How can we use new custom interfaces to enhance functionality of built-in interfaces of hibernate?
What is hql (hibernate query language)?
What is ehcache in hibernate?
Explain the types of hibernate instance states.