Interface AfterInsertEntityListener<T>


public interface AfterInsertEntityListener<T>
Defines the contract for handling entities after they have been inserted into DB.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onAfterInsert(T entity)
    Executes after the object has been inserted into DB.
  • Method Details

    • onAfterInsert

      void onAfterInsert(T entity)
      Executes after the object has been inserted into DB.

      Modification of the entity state or using EntityManager is impossible here.

      Parameters:
      entity - inserted entity