ObjectDB Database Search
1-4 of 4 resultsJPA Lifecycle Events void onPreRemove() {} @ PostRemove void onPostRemove() {} } Internal callback methods ... ). @PreRemove - when an entity is marked for removal in the EntityManager. @ PostRemove ... void onPreRemove(Object o) {} @ PostRemove void onPostRemove(Object o) {} } External callback methods | |
AnnotationRef jakarta.persistence.PostRemove JPA Annotation PostRemove Target: METHOD Implemented Interfaces: Annotation Specifies a callback method for the corresponding lifecycle event. This annotation may be applied to methods of an entity ... article explains how to use PostRemove . This annotation is a marker annotation (with no attributes). | |
AnnotationRef jakarta.persistence.EntityListeners methods annotated PrePersist , PreUpdate , PreRemove , PostPersist , PostUpdate , and/or PostRemove | |
AnnotationRef jakarta.persistence.Entity , PreRemove , PostPersist , PostUpdate , and/or PostRemove . Since: JPA 1.0 The JPA Persistable Types |