@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
@Repeatable(value=JoinColumns.class)
public @interface JoinColumn
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
columnDefinition
Used to define the mapping.
|
java.lang.String |
name
The name of the foreign column.
|
java.lang.String |
referencedColumnName
The name of the column referenced by this foreign column.
|
public abstract java.lang.String name