|
EclipseLink 2.3.2, build 'v20111125-r10461' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={METHOD,FIELD}) @Retention(value=RUNTIME) public @interface Array
Array types are extended object-relational data-types supported by some databases. Array types are user define types in the database such as VARRAY types on Oracle. Arrays can contains basic types (VARCHAR) or other Struct types, and can be stored in a column or in a Struct type.
This annotation can be defined on a collection attribute that is persisted to an Array type. The collection can be of basic types, or embeddable class mapped using a Struct.
ObjectRelationalDataTypeDescriptor
,
ArrayMapping
,
ObjectArrayMapping
Required Element Summary | |
---|---|
java.lang.String |
databaseType
(Required) The database name of the database array structure type. |
Optional Element Summary | |
---|---|
java.lang.Class |
targetClass
(Optional) The basic or embeddable class that is the element type of the collection. |
Element Detail |
---|
public abstract java.lang.String databaseType
public abstract java.lang.Class targetClass
|
EclipseLink 2.3.2, build 'v20111125-r10461' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |