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[] cascade  
      boolean embedded  
      jakarta.persistence.FetchType fetch  
      java.lang.String mappedBy  
      boolean optional  
    • Element Detail

      • mappedBy

        java.lang.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:
        jakarta.persistence.FetchType.EAGER