Package org.hibernate.annotations
Annotation Interface JdbcType
Specifies an explicit
JdbcType to use for a particular column mapping.- When applied to a Map-valued attribute, describes the Map value. Use
MapKeyJdbcTypeto describe the key instead - When applied to a List of array-valued attribute, describes the element. Use
ListIndexJdbcTypeto describe the index instead - When mapping an id-bag, describes the collection element. Use
CollectionIdJdbcTypeto describe the collection-id - For other collection mappings, describes the elements
- For discriminated association mappings (
@Anyand@ManyToAny), describes the discriminator value.
ManagedBean Seebasic-value-mapping for high-level discussion of basic value mapping.- Since:
- 6.0
- See Also:
Required Element Summary
Required Elements
Element Details
value
TheJdbcTypeto use for the mapped column