About listener

81-90 of 137Refresh
JPA Doc
4

javax.persistence.PostUpdate

javax.persistence Annotation PostUpdate Target: Callback methods Is used to specify callback methods for the corresponding lifecycle event. This annotation may be applied to methods of an entity class, a mapped superclass, or a callback listener class. Since: JPA 1.0 Learn how to define and use JPA
JPA Doc
4

javax.persistence.PrePersist

javax.persistence Annotation PrePersist Target: Callback methods Is used to specify callback methods for the corresponding lifecycle event. This annotation may be applied to methods of an entity class, a mapped superclass, or a callback listener class. Since: JPA 1.0 Learn how to define and use JPA
JPA Doc
4

javax.persistence.PreRemove

javax.persistence Annotation PreRemove Target: Callback methods Is used to specify callback methods for the corresponding lifecycle event. This annotation may be applied to methods of an entity class, a mapped superclass, or a callback listener class. Since: JPA 1.0 Learn how to define and use JPA
JPA Doc
4

javax.persistence.PreUpdate

javax.persistence Annotation PreUpdate Target: Callback methods Is used to specify callback methods for the corresponding lifecycle event. This annotation may be applied to methods of an entity class, a mapped superclass, or a callback listener class. Since: JPA 1.0 Learn how to define and use JPA
JDO Doc
4

jdoPostAttach(attached)

Method javax.jdo.listener.AttachCallback void jdoPostAttach(   Object attached ) This method is called during the execution of javax.jdo.PersistenceManager.makePersistent on the persistent instance after the copy is made. Parameters: attached - The corresponding (non-attached) instance
JDO Doc
4

jdoPostDetach(detached)

Method javax.jdo.listener.DetachCallback void jdoPostDetach(   Object detached ) This method is called during the execution of javax.jdo.PersistenceManager.detachCopy on the detached instance after the copy is made. Parameters: detached - The corresponding (attached) persistent instance. Since: JDO 2.0
JDO Doc
4

jdoPostLoad()

Method javax.jdo.listener.LoadCallback void jdoPostLoad() Called after the values are loaded from the data store into this instance. This method is not modified by the enhancer. Derived fields should be initialized in this method. The context in which this call is made does not allow access to other persistent JDO instances. Since: JDO 2.0
JDO Doc
4

jdoPreAttach()

Method javax.jdo.listener.AttachCallback void jdoPreAttach() This method is called during the execution of javax.jdo.PersistenceManager.makePersistent on the detached instance before the copy is made. Since: JDO 2.0
JDO Doc
4

jdoPreClear()

Method javax.jdo.listener.ClearCallback void jdoPreClear() Called before the values in the instance are cleared. Transient fields should be cleared in this method. Associations between this instance and others in the runtime environment should be cleared. This method is not modified by the enhancer. Since: JDO 2.0
JDO Doc
4

jdoPreDelete()

Method javax.jdo.listener.DeleteCallback void jdoPreDelete() Called before the instance is deleted. This method is called before the state transition to persistent-deleted or persistent-new-deleted. Access to field values within this call are valid. Access to field values