|
EclipseLink 2.3.2, build 'v20111125-r10461' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={TYPE,METHOD,FIELD}) @Retention(value=RUNTIME) public @interface Struct
Struct types are extended object-relational data-types supported by some databases. Struct types are user define types in the database such as OBJECT types on Oracle. Structs can normally contains Arrays (VARRAY) or other Struct types, and can be stored in a column or a table.
This annotation define a class to map to a database Struct type. The class should normally be an Embeddable, but could also be an Entity if stored in a object table.
ObjectRelationalDataTypeDescriptor
,
StructureMapping
Required Element Summary | |
---|---|
java.lang.String |
name
(Required) The database name of the database structure type. |
Optional Element Summary | |
---|---|
java.lang.String[] |
fields
(Optional) Defines the order of the fields contained in the database structure type. |
Element Detail |
---|
public abstract java.lang.String name
public abstract java.lang.String[] fields
|
EclipseLink 2.3.2, build 'v20111125-r10461' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |