Annotationsschnittstelle PreUpdate


@Target(METHOD) @Retention(RUNTIME) public @interface PreUpdate
will be called, before a single object is updated (this obect to be exact) Unfortuately, it can't be called when a query based update is executed