Package org.hibernate.annotations
Annotation Type Type
-
@Target({FIELD,METHOD}) @Retention(RUNTIME) public @interface Type
Defines a Hibernate type mapping.- See Also:
Type
,UserType
,CompositeUserType
,TypeDef
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Parameter[]
parameters
Any configuration parameters for the named type.
-
-
-
Element Detail
-
type
String type
The Hibernate type name. Usually the fully qualified name of an implementation class forType
,UserType
orCompositeUserType
. May also refer to a type definition by nameTypeDef.name()
-
-
-
parameters
Parameter[] parameters
Any configuration parameters for the named type.- Default:
- {}
-
-