Package org.hibernate.annotations
Annotation Type TypeDef
-
@Target({TYPE,PACKAGE}) @Retention(RUNTIME) @Repeatable(TypeDefs.class) public @interface TypeDefA type definition. Much likeType, but here we can centralize the definition under a name and refer to that name elsewhere. The plural form isTypeDefs.- See Also:
Type,UserType,CompositeUserType,Type
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.Class<?>typeClassThe type implementation class.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.Class<?>defaultForTypeName a java type for which this defined type should be the default mapping.java.lang.StringnameThe type name.Parameter[]parametersAny configuration parameters for this type definition.
-
-
-
-
parameters
Parameter[] parameters
Any configuration parameters for this type definition.- Default:
- {}
-
-