That makes sense.. So, if I load up and object, and then do multiple flushes, I only know post the most recent flush whether the object is dirty or not.
So, what I could do is something icky like make a copy of the object and then using something compare all the properties to see what changes. However, since I only have one Session, with a flush at the end, assuming hibernate doesn't flush during, is there a way to see if things have changed?
I guess I could write an interceptor that tracked the changes to each object, and then query the interceptor for whether an object changed.....
Thanks,
Eric
|