Interface BeforeAttachEntityListener<T>


public interface BeforeAttachEntityListener<T>
Defines the contract for handling entities right before they are attached to an EntityManager on merge operation.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onBeforeAttach(T entity)
    Executes before the object is attached to an EntityManager on merge operation.
  • Method Details

    • onBeforeAttach

      void onBeforeAttach(T entity)
      Executes before the object is attached to an EntityManager on merge operation.
      Parameters:
      entity - detached entity