|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={TYPE,FIELD,METHOD}) @Retention(value=RUNTIME) public @interface Join
Annotation for the join of a relation. Corresponds to the xml element "join".
Optional Element Summary | |
---|---|
java.lang.String |
column
Name of the column in the join table. |
Column[] |
columns
Detail definition of the join column(s). |
ForeignKeyAction |
deleteAction
Delete action to be applied to any ForeignKey on this join. |
Extension[] |
extensions
Vendor extensions. |
java.lang.String |
foreignKey
Name for a generated foreign key constraint. |
java.lang.String |
generateForeignKey
Generate or assume a foreign key constraint exists on the column or columns associated with this join. |
java.lang.String |
generatePrimaryKey
Generate or assume a primary key constraint exists on the column or columns associated with this join. |
java.lang.String |
index
The name of the index to generate. |
java.lang.String |
indexed
Whether the join column is indexed. |
java.lang.String |
outer
Whether to use an outer join. |
java.lang.String |
primaryKey
Name for a generated primary key constraint. |
java.lang.String |
table
Table to join to (used when joining to secondary tables). |
java.lang.String |
unique
Whether the join column is unique. |
java.lang.String |
uniqueKey
The name of the unique key constraint to generate. |
public abstract java.lang.String table
public abstract java.lang.String column
public abstract java.lang.String indexed
public abstract java.lang.String index
public abstract java.lang.String unique
public abstract java.lang.String uniqueKey
public abstract java.lang.String outer
public abstract ForeignKeyAction deleteAction
public abstract Column[] columns
public abstract java.lang.String generatePrimaryKey
public abstract java.lang.String primaryKey
public abstract java.lang.String generateForeignKey
public abstract java.lang.String foreignKey
public abstract Extension[] extensions
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |