@Target(value={})
@Retention(value=RUNTIME)
public @interface Index
主キーに対するインデックスは自動的に生成されるため、主キーに対するインデックスの指定は必要ないことに注意してください。
columnList要素の構文は次のようなcolumn_listです。:
column::= index_column [,index_column]*
index_column::= column_name [ASC | DESC]
ASCもDESCも指定されていない場合、ASC(昇順)が仮定されます。
Table,
SecondaryTable,
CollectionTable,
JoinTable,
TableGenerator| 修飾子とタイプ | 必須要素と説明 |
|---|---|
java.lang.String |
columnList
(オプション)インデックスや順序に含まれるカラムの名前。
|
Translated by @megascus.