Annotation Type Persistent


@Target({METHOD,FIELD}) @Retention(RUNTIME) public @interface Persistent
Metadata annotation for a persistent field.
Since:
0.4.0
Author:
Abe White
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    jakarta.persistence.CascadeType[]
     
    boolean
     
    jakarta.persistence.FetchType
     
     
    boolean
     
  • Element Details

    • mappedBy

      String mappedBy
      Default:
      ""
    • cascade

      jakarta.persistence.CascadeType[] cascade
      Default:
      {}
    • optional

      boolean optional
      Default:
      true
    • embedded

      boolean embedded
      Default:
      false
    • fetch

      jakarta.persistence.FetchType fetch
      Default:
      EAGER