@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface BasicMap
A converter may be used if the desired object type and the data type do not
match. This applied to both the key and value of the map.
,
Convert
,
Converter
,
ObjectTypeConverter
,
A BasicMap can be specified within an Entity, MappedSuperclass and Embeddable
class.
,
ElementCollection
Modifier and Type | Optional Element and Description |
---|---|
FetchType |
fetch
Deprecated.
(Optional) Defines whether the value of the field or property should
be lazily loaded or must be eagerly fetched.
|
Column |
keyColumn
Deprecated.
(Optional) The name of the data column that holds the direct map
key.
|
Convert |
keyConverter
Deprecated.
(Optional) Specify the key converter.
|
Column |
valueColumn
Deprecated.
(Optional) The name of the data column that holds the direct collection data.
|
Convert |
valueConverter
Deprecated.
(Optional) Specify the value converter.
|
public abstract FetchType fetch
public abstract Column keyColumn
public abstract Convert keyConverter
public abstract Column valueColumn
public abstract Convert valueConverter