@Target(value={TYPE,FIELD,METHOD}) @Retention(value=RUNTIME) @Repeatable(value=Joins.class) public @interface Join
Modifier and Type | Optional Element and Description |
---|---|
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.
|
String |
foreignKey
Name for a generated foreign key constraint.
|
String |
generateForeignKey
Generate or assume a foreign key constraint exists on the column
or columns associated with this join.
|
String |
generatePrimaryKey
Generate or assume a primary key constraint exists on the column
or columns associated with this join.
|
String |
index
The name of the index to generate.
|
String |
indexed
Whether the join column is indexed.
|
String |
outer
Whether to use an outer join.
|
String |
primaryKey
Name for a generated primary key constraint.
|
String |
table
Table to join to (used when joining to secondary tables).
|
String |
unique
Whether the join column is unique.
|
String |
uniqueKey
The name of the unique key constraint to generate.
|
public abstract String table
public abstract String column
public abstract String indexed
public abstract String index
public abstract String unique
public abstract String uniqueKey
public abstract String outer
public abstract ForeignKeyAction deleteAction
public abstract Column[] columns
public abstract String generatePrimaryKey
public abstract String primaryKey
public abstract String generateForeignKey
public abstract String foreignKey
public abstract Extension[] extensions
Copyright © 2005–1970 Apache Software Foundation. All rights reserved.