Index
Target: ElementType.TYPE, ElementType.FIELD, ElementType.METHOD
- Implemented Interfaces:
Annotation
Annotation for a database index. Used for database schema generation to create indexes. Corresponds to the xml element "index".
- Since:
- JDO 2.1
Public Annotation Attributes
String[] members default {}
- Since:
- JDO 2.1
String name default ""
- Since:
- JDO 2.1
String table default ""
This is needed iff annotating a type where the index is not defined on the primary table for the type.
- Since:
- JDO 2.1
String unique default ""
- Since:
- JDO 2.1