Regular |
|
Joined: Tue Oct 07, 2003 1:13 pm Posts: 70 Location: Paris, France
|
Ok, I've replaced the array type by a list type, and that is the same problem.
A change in my OneToMany association doesn't trigger a call to the onFlushDirty of my interceptor.
That is a very big problem for me, because I can log every value change except for my OneToMany association.
Actually I've touched the problem :
COLLECTIONS DON'T DIRTY AN UNVERSIONNED PARENT ENTITY !!!!!!
Aaarg I'm dead... Must i turn to version my entity to have the right that Hibernate calls the onFlushDirty ?????? Or is there a workaround ? I dont' know ... maybe recompute a value change in the findDirty(...) method of my interceptor ?
Please, have you any pointers ???
Thank you.
Richard
|
|