@Retention(CLASS) @Target({METHOD})

public @interface PreUpdate

Invokes a public no-argument callback before a dirty entity update during flush.