Annotation Type Structure


@Target({METHOD,FIELD}) @Retention(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:
Author:
James Sutherland