@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface Struct
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| Modifier and Type | Required Element and Description | 
|---|---|
java.lang.String | 
name
(Required) The database name of the database structure type. 
 | 
| Modifier and Type | Optional Element and Description | 
|---|---|
java.lang.String[] | 
fields
(Optional) Defines the order of the fields contained in the database structure type. 
 |