Dirty Checking :
Suppose a list of collections is there and few of them are updated/modified. Hibernate will verify updated/modified each collection and then it will save it to DB. This is called dirty checking.
Dynamic-upadate :
If a particular Entity is updated/modified with few columns and saving this to DB, this can be done using dynamic update property. In configuration file of table (Entity xml), dynamic-update=true can be mention to enable this feature of hibernate. Highly recommended to use this to save the time and increase the performance.
Dirty Checking : List of collections
Dynamic-update : Single Entity
If am wrong at any point, u people can correct me please...
Suppose a list of collections is there and few of them are updated/modified. Hibernate will verify updated/modified each collection and then it will save it to DB. This is called dirty checking.
Dynamic-upadate :
If a particular Entity is updated/modified with few columns and saving this to DB, this can be done using dynamic update property. In configuration file of table (Entity xml), dynamic-update=true can be mention to enable this feature of hibernate. Highly recommended to use this to save the time and increase the performance.
Dirty Checking : List of collections
Dynamic-update : Single Entity
If am wrong at any point, u people can correct me please...
No comments:
Post a Comment