Top Description Methods
org.eclipse.persistence.annotations

public @Interface Structure

extends Annotation
Annotations
@Target:METHOD, FIELD
@Retention:RUNTIME
Static Imports
java.lang.annotation.ElementType.FIELD, .ElementType.METHOD, .RetentionPolicy.RUNTIME

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.

Author
James Sutherland
Since
EclipseLink 2.3
See Also
Struct, org.eclipse.persistence.mappings.structures.ObjectRelationalDataTypeDescriptor, org.eclipse.persistence.mappings.structures.StructureMapping

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString