Would someone be able to confirm that the following is a bug or not?
The onFlushDirty() method of my Interceptor was not being invoked even though an update was scheduled and performed. Looking through the onFlushEntity() method I found the following bit of code...
Code:
if ( !entry.isBeingReplicated() ) {
//if the properties were modified by the Interceptor, we need to set them back to the object
substitute = substitute || invokeInterceptor(event);
}
Shouldn't invokeInterceptor() always be invoked regardless of the valule of substitute?
Thanks for your patience,
Tim Kuntz
Hibernate version: 3.0.3