About callback

manual

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 ...

 
manual

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 ...

 
api-jpa

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. ...

 
api-jdo

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 ...

 
api-jpa

ValidationMode.CALLBACK

The persistence provider must perform the lifecycle event validation.(Enum Constant of javax.persistence.ValidationMode)

 
api-jpa

javax.persistence.PostLoad

Is used to specify callback methods for the corresponding lifecycle event.(Annotation of JPA)

 
api-jpa

javax.persistence.PreRemove

Is used to specify callback methods for the corresponding lifecycle event.(Annotation of JPA)

 
api-jpa

javax.persistence.PreUpdate

Is used to specify callback methods for the corresponding lifecycle event.(Annotation of JPA)

 
api-jpa

javax.persistence.PrePersist

Is used to specify callback methods for the corresponding lifecycle event.(Annotation of JPA)

 
api-jpa

javax.persistence.PostPersist

Is used to specify callback methods for the corresponding lifecycle event.(Annotation of JPA)