About callback
JPA Lifecycle Events
Explains how to use JPA lifecycle events (client side triggers) with callback methods and listener classes. Callback methods are user defined methods that are attached to entity lifecycle ... covers the following topics: Internal Callback Methods Implementation Restrictions Listeners and External Callback Methods Default Entity Listeners Callback ...
Advanced JPA Topics
Describes advanced JPA topics - detached entity objects, lock management and entity lifecycle events. This section discusses advanced JPA topics: Detached Entity Objects Locking in JPA JPA Lifecycle Events Shared (L2) Entity Cache JPA Metamodel API ...
JPA Annotations for Callback Methods
Reference (JavaDoc) of JPA 2 event callback and listener annotations, including @PrePersist(2), @PreRemove, @PreUpdate, @PostLoad, @PostPersist, @PostRemove and @PostUpdate. The following annotations can mark methods as JPA callback methods: javax.persistence.PrePersist ... Manual explains how to use all these annotations on callback methods and with listener classes. ...
JDO Internal Callbacks
The following interfaces can be implemented by persistence capable classes in order to response to JDO lifecycle events: javax.jdo.listener.AttachCallback javax.jdo.listener.ClearCallback javax.jdo.listener.DeleteCallback ...
ValidationMode.CALLBACK
The persistence provider must perform the lifecycle event validation.(Enum Constant of javax.persistence.ValidationMode)
javax.persistence.PostLoad
Is used to specify callback methods for the corresponding lifecycle event.(Annotation of JPA)
javax.persistence.PreRemove
Is used to specify callback methods for the corresponding lifecycle event.(Annotation of JPA)
javax.persistence.PrePersist
Is used to specify callback methods for the corresponding lifecycle event.(Annotation of JPA)
javax.persistence.PostRemove
Is used to specify callback methods for the corresponding lifecycle event.(Annotation of JPA)
javax.persistence.PostUpdate
Is used to specify callback methods for the corresponding lifecycle event.(Annotation of JPA)