ObjectDB Database Search

1-4 of 4 results

jakarta.persistence.PostRemove

Jakarta Persistence (JPA) Annotation Type jakarta.persistence. PostRemove Implemented Interfaces: Annotation Target: Method Specifies a callback method for the corresponding lifecycle event ... PostRemove . Annotation Elements This is a marker annotation with no members/elements. Additional JDK

JPA 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

jakarta.persistence.Entity

methods using PrePersist , PreUpdate , PreRemove , PostPersist , PostUpdate , and/or PostRemove

jakarta.persistence.EntityListeners

, PostPersist , PostUpdate , and/or PostRemove . Since: Jakarta Persistence (JPA) 1.0 The JPA Lifecycle