Hello All,
I was wondering if someone could point me towards some documentation on how Hibernate implements automatic dirty checking of objects.
Since Hibernate does not force objects to have proxies, it probably isn't using interception, so I'm wondering if it compares the value of every property for every object against what was originally in the database when the object was loaded?
If so, couldn't this be costly for performance? If that's the case, perhaps using a custom IInterceptor with a simpler dirty flag check might be a solution to performance concerns.
Any pointers to documentation or information is most appreciated. Thanks to all.
|