ObjectDB Database Search
1-2 of 2 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 | |
javax.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). |