javax.jdo.annotations.Index - JDO annotation
Annotation for a database index. Used for database schema generation to create indexes. Corresponds to the xml element "index".
- Since:
- JDO 2.1
Columns that compose this index.
Columns that compose this index.
- Returns:
- columns that compose this index
- Default value:
- {}
- Since:
- JDO 2.1
Member (field and property) names that compose this index.
Member (field and property) names that compose this index.
- Returns:
- member names that compose this index
- Default value:
- {}
- Since:
- JDO 2.1
Name of the index
Name of the index
- Returns:
- the name of the index
- Default value:
- ""
- Since:
- JDO 2.1
Table for the index.
Table for the index. This is needed iff annotating a type where the index is not defined on the primary table for the type.
- Returns:
- the table on which the index is defined
- Default value:
- ""
- Since:
- JDO 2.1
Whether this index is unique
Whether this index is unique
- Returns:
- whether this index is unique
- Default value:
- ""
- Since:
- JDO 2.1