Package org.hibernate.annotations
Annotation Interface JavaType
Specify an explicit
BasicJavaType
to use for a particular
column mapping. -
When applied to a Map-valued attribute, describes the Map value. Use
MapKeyJavaType
to describe the key instead -
When applied to a List of array-valued attribute, describes the element. Use
ListIndexJavaType
to describe the index instead -
When mapping an id-bag, describes the collection element. Use
CollectionIdJavaType
to describe the collection-id - For other collection mappings, describes the elements
ManagedBean
See basic-value-mapping for high-level discussion
of basic value mapping.- Since:
- 6.0
- See Also:
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionClass<? extends BasicJavaType<?>>
TheBasicJavaType
to use for the mapped column
-
Element Details
-
value
Class<? extends BasicJavaType<?>> valueTheBasicJavaType
to use for the mapped column
-