Package com.blazebit.persistence.view
Annotation Type PreUpdate
@Target(METHOD) @Retention(RUNTIME) public @interface PreUpdate
Annotation to mark a method to be executed before updating an entity view.
A method annotated with
@PreUpdate
may optionally have the following parameters
- An
EntityViewManager
- An
EntityManager
@PreUpdate
and it must return void
.
Super type methods annotated with @PreUpdate
are ignored if an entity view defines a @PreUpdate
method.- Since:
- 1.4.0
- Author:
- Christian Beikov