Joined: Thu Jun 02, 2005 5:45 am Posts: 2 Location: Shanghai, China
|
Is it possible to stop an update inside an Interceptor.onFlushDirty call?
I would like to use this to method to detect dirty objects, but I need to do
some processing on these objects before the changes are committed(I really
want to persist the objects using a brand new ID, instead of overwriting the old version)
As far as I know there is no way to ask Hibernate whether a specific object is
dirty or not...but I don't understand why this feature has been rejected by
the implementors.
Thanks,
Jacob
|
|