@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface Array
This annotation can be defined on a collection attribute that is persisted to an Array type. The collection can be of basic types, or embeddable class mapped using a Struct.
ObjectRelationalDataTypeDescriptor
,
ArrayMapping
,
ObjectArrayMapping
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
databaseType
(Required) The database name of the database array structure type.
|
Modifier and Type | Optional Element and Description |
---|---|
java.lang.Class |
targetClass
(Optional) The basic or embeddable class that is the element
type of the collection.
|
public abstract java.lang.String databaseType
public abstract java.lang.Class targetClass