Annotation Type PrePersist

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      Class<? extends Annotation>[] entityAnnotations
      An array of custom annotation types.
      Class<?>[] value
      An array of entity classes that a listener method should be associated with.
    • Element Detail

      • value

        Class<?>[] value
        An array of entity classes that a listener method should be associated with.
        Default:
        {}
      • entityAnnotations

        Class<? extends Annotation>[] entityAnnotations
        An array of custom annotation types. When such annotation is used on an entity class, such entity will be associated with the annotated listener method.
        Default:
        {}