@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 |
---|---|
javax.persistence.FetchType |
fetch
Deprecated.
(Optional) Defines whether the value of the field or property should be lazily loaded or must be eagerly fetched.
|
javax.persistence.Column |
keyColumn
Deprecated.
(Optional) The name of the data column that holds the direct map key.
|
Convert |
keyConverter
Deprecated.
(Optional) Specify the key converter.
|
javax.persistence.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 javax.persistence.FetchType fetch
public abstract javax.persistence.Column keyColumn
public abstract Convert keyConverter
public abstract javax.persistence.Column valueColumn
public abstract Convert valueConverter