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
  • Element Details

    • mappedBy

      String mappedBy
      Default:
      ""
    • elementType

      Class elementType
      Default:
      void.class
    • elementCascade

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

      boolean elementEmbedded
      Default:
      false
    • fetch

      jakarta.persistence.FetchType fetch
      Default:
      LAZY