|
Hibernate version: 3.2.5.ga
I would like to know if there's a way to get all "dirty" attributes ?
I've seen the method session.isDirty(), but this method returns only if anything is dirty, but i don't know what is dirty.
I've seen the interceptor too. But to use interceptors, i would have to call a save method or something like this.
I'd like something like this:
???? = AnyHelperClass.getAllDirtyAttributes(entityObject).
or
???? = new AnyHelperClass().getAllDirtyAttributes(entityObject).
Thanks in advance.
|