|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) E28847-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Target(value={METHOD,FIELD,TYPE})
@Retention(value=RUNTIME)
public @interface Index
Allow 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.
| Optional Element Summary | |
|---|---|
java.lang.String |
catalogThe catalog of the INDEX |
java.lang.String[] |
columnNamesSpecify the set of columns to define the index on. |
java.lang.String |
nameThe name of the INDEX, defaults to INDEX_<table-name> |
java.lang.String |
schemaThe schema of the INDEX |
java.lang.String |
tableThe table to define the index on, defaults to entities primary table. |
boolean |
unique |
public abstract java.lang.String name
public abstract java.lang.String schema
public abstract java.lang.String catalog
public abstract java.lang.String table
public abstract boolean unique
public abstract java.lang.String[] columnNames
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||