Package org.hibernate.annotations
Annotation Interface CompositeType
Specifies a custom
CompositeUserType for the annotated attribute
mapping. Just like the @Type annotation, this annotation may
be applied:
- directly to a property or field of an entity to specify the custom type of the property or field,
- indirectly, as a meta-annotation of an annotation type that is then applied to various properties and fields, or
- by default, via a registration.
- See Also:
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionClass<? extends CompositeUserType<?>>The custom type implementor class
-
Element Details
-
value
Class<? extends CompositeUserType<?>> valueThe custom type implementor class
-