Meaning of Obs.isDirty

Hibernate already has a mechanism to mark a persistent as dirty whenever a setter is executed (that’s one of the purposes of creating dynamic proxies). Why has Obs a similar method? Each setter has to explicitly invoke markAsDirty to make it work.

1 Like

We considered that route and dropped it because the hibernate mechanism looks at changes at very low level and can be very brittle for our use case.