Package org.hibernate.annotations
Annotation Interface 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:
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionClass<?>The basic type described by theuserType().TheUserType.
Element Details
basicClass
Class<?> basicClassThe basic type described by theuserType().userType
TheUserType.