Annotation Type CollectionType


  • @Target({FIELD,METHOD})
    @Retention(RUNTIME)
    public @interface CollectionType
    Names a custom collection type for a persistent collection. The collection can also name a @Type, which defines the Hibernate Type of the collection elements.
    See Also:
    CollectionType, UserCollectionType
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String type
      Names the type.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      Parameter[] parameters
      Specifies configuration information for the type.
    • Element Detail

      • parameters

        Parameter[] parameters
        Specifies configuration information for the type. Note that if the named type is a UserCollectionType, it must also implement ParameterizedType in order to receive these values.
        Default:
        {}