Package org.hibernate.annotations
Annotation Type CompositeType
-
@Target({METHOD,FIELD,ANNOTATION_TYPE}) @Retention(RUNTIME) public @interface CompositeType
Specifies a customCompositeUserType
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:
CompositeUserType
,CompositeTypeRegistration
,Type
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description Class<? extends CompositeUserType<?>>
value
The custom type implementor class
-
-
-
Element Detail
-
value
Class<? extends CompositeUserType<?>> value
The custom type implementor class
-
-