Annotation Type Index
-
@Target({METHOD,FIELD,TYPE}) @Retention(RUNTIME) @Repeatable(Indexes.class) public @interface IndexAllow a database INDEX to be define when generating DDL. The @Index can be defined on a Entity class, or on an attribute. The column is defaulted when defined on a attribute.- Author:
- James Sutherland
- Since:
- EclipseLink 2.2
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringcatalogThe catalog of the INDEXjava.lang.String[]columnNamesSpecify the set of columns to define the index on.java.lang.StringnameThe name of the INDEX, defaults to INDEX_<table-name>java.lang.StringschemaThe schema of the INDEXjava.lang.StringtableThe table to define the index on, defaults to entities primary table.booleanunique
-