EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

org.eclipse.persistence.annotations
Annotation Type BasicCollection


Deprecated.

@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
@Deprecated
public @interface BasicCollection

A 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.

See Also:
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., ElementCollection
Author:
Guy Pelletier
Since:
Oracle TopLink 11.1.1.0.0

Optional Element Summary
 FetchType fetch
          Deprecated. (Optional) Defines whether the value of the field or property should be lazily loaded or must be eagerly fetched.
 Column valueColumn
          Deprecated. (Optional) The name of the value column that holds the direct collection data.
 

fetch

public abstract FetchType fetch
Deprecated. 
(Optional) Defines whether the value of the field or property should be lazily loaded or must be eagerly fetched. The EAGER strategy is a requirement on the persistence provider runtime that the value must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime. If not specified, defaults to LAZY.

Default:
javax.persistence.FetchType.LAZY

valueColumn

public abstract Column valueColumn
Deprecated. 
(Optional) The name of the value column that holds the direct collection data. Defaults to the property or field name.

Default:
@javax.persistence.Column

EclipseLink 2.2.0, build 'v20110202-r8913' API Reference