|
EclipseLink 1.1.0_ 1.1.0.r3634 API Reference | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface BasicCollectionA BasicCollection is used to map an org.eclipse.persistence.mappings.DirectCollectionMapping, which stores a collection of simple types (String, Number, Date, etc.). It is used in conjunction with a CollectionTable which stores the value and a foreign key to the source object.
Converters may be used if the desired object type and the data type do not
match.,
Convert,
Converter,
ObjectTypeConverter,
A BasicCollection can be specified on within an Entity, MappedSuperclass
and Embeddable class.| Optional Element Summary | |
|---|---|
FetchType |
fetch
(Optional) Defines whether the value of the field or property should be lazily loaded or must be eagerly fetched. |
Column |
valueColumn
(Optional) The name of the value column that holds the direct collection data. |
public abstract FetchType fetch
public abstract Column valueColumn
|
EclipseLink 1.1.0_ 1.1.0.r3634 API Reference | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||