What is the dirty checking feature of Hibernate?
Dirty checking is a feature of hibernate. It allows the user or developer to avoid the time consuming databases write actions. This feature makes necessary updations and changes to the fields which require a change, remaining fields are left unchanged or untouched.
Hibernate dirty check is a feature of hibernate that save the time and effort to update the database when states of objects are modified inside a transaction. Hibernate automatically detects the object states whenever changed and synchronized with the database in order to update.