EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.annotations
Annotation Type Structure


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

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 can be defined on a field/method to define an StructureMapping to an embedded Struct type. The target Embeddable must be mapped using the Struct annotation.

See Also:
Struct, ObjectRelationalDataTypeDescriptor, StructureMapping
Author:
James Sutherland
Since:
EclipseLink 2.3


EclipseLink 2.4.2, build 'v20130514-5956486' API Reference