Module jakarta.data

Class PostUpsertEvent<E>

java.lang.Object
jakarta.data.event.LifecycleEvent<E>
jakarta.data.event.PostUpsertEvent<E>
Type Parameters:
E - the entity type

public class PostUpsertEvent<E> extends LifecycleEvent<E>
An event that occurs when a Save lifecycle method is called, after each entity is inserted or updated in the datastore. This event usually indicates that the repository method implementation is unaware of whether the operation performed was an insert or an update.
  • Constructor Details

    • PostUpsertEvent

      public PostUpsertEvent(E entity)