Package org.hibernate.annotations
Annotation Interface CollectionType
Names a custom collection type for a persistent collection.
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionClass<? extends UserCollectionType>
Specifies the UserCollectionType to use when mapping the attribute to which this annotation is attached. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionSpecifies configuration information for the type.
-
Element Details
-
type
Class<? extends UserCollectionType> typeSpecifies the UserCollectionType to use when mapping the attribute to which this annotation is attached.
-
-
-
parameters
Parameter[] parametersSpecifies configuration information for the type. Note that if the named type is aUserCollectionType
, it must also implementParameterizedType
in order to receive these values.- Default:
- {}
-