|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={TYPE,FIELD,METHOD}) @Retention(value=RUNTIME) public @interface Index
Annotation for a database index. Used for database schema generation to create indexes. Corresponds to the xml element "index".
Optional Element Summary | |
---|---|
Column[] |
columns
Columns that compose this index. |
java.lang.String[] |
members
Member (field and property) names that compose this index. |
java.lang.String |
name
Name of the index |
java.lang.String |
table
Table for the index. |
java.lang.String |
unique
Whether this index is unique |
public abstract java.lang.String name
public abstract java.lang.String table
public abstract java.lang.String unique
public abstract java.lang.String[] members
public abstract Column[] columns
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |