Package org.apache.openjpa.event
Interface UpdateListener
public interface UpdateListener
- Since:
- 1.1.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Receives notifications before an update is performed.void
beforeUpdate
(LifecycleEvent event) Receives notifications before an update is performed.
-
Method Details
-
beforeUpdate
Receives notifications before an update is performed. Differs fromStoreListener.beforeStore(org.apache.openjpa.event.LifecycleEvent)
in that the latter is called for updated and new records, whereas this is only invoked for updated records. -
afterUpdatePerformed
Receives notifications before an update is performed. Differs fromStoreListener.afterStore(org.apache.openjpa.event.LifecycleEvent)
in that the latter is called for updated and new records, whereas this is only invoked for updated records, and that this is called after the record is actually flushed to the store.
-