Package org.hibernate.annotations
Annotation Type TypeRegistration
@Target({TYPE,ANNOTATION_TYPE,PACKAGE})@Retention(RUNTIME)@Repeatable(TypeRegistrations.class)public @interfaceTypeRegistration
Registers a customuser type implementation to be used by default for all references to a particular class ofbasic type.May be overridden for a specific entity field or property using
@Type.- Since:
- 6.2
- See Also:
UserType,Type,CompositeTypeRegistration
Required Element Summary
Required Elements Modifier and Type Required Element Description Class<?>basicClassThe basic type described by theuserType().Class<? extendsUserType<?>>userTypeTheUserType.
Element Detail
basicClass
Class<?> basicClass
The basic type described by theuserType().