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