Annotation Type PersistentCollection


  • @Target({METHOD,FIELD})
    @Retention(RUNTIME)
    public @interface PersistentCollection
    Metadata annotation for a persistent collection field. This should be used to annotate array field types as well as fields of type Collection.
    Since:
    0.4.0
    Author:
    Abe White
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      jakarta.persistence.CascadeType[] elementCascade  
      boolean elementEmbedded  
      java.lang.Class elementType  
      jakarta.persistence.FetchType fetch  
      java.lang.String mappedBy  
    • Element Detail

      • mappedBy

        java.lang.String mappedBy
        Default:
        ""
      • elementType

        java.lang.Class elementType
        Default:
        void.class
      • elementCascade

        jakarta.persistence.CascadeType[] elementCascade
        Default:
        {}
      • elementEmbedded

        boolean elementEmbedded
        Default:
        false
      • fetch

        jakarta.persistence.FetchType fetch
        Default:
        jakarta.persistence.FetchType.LAZY