Interface BeforeInsertEntityListener<T>


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

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

    • onBeforeInsert

      void onBeforeInsert(T entity)
      Executes before the object has been inserted into DB.
      Parameters:
      entity - inserted entity instance