Annotation Type JoinTable
Join table and key column names for an owning to-many association.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionNames the join-table key column referring to the target.Names the join-table key column referring to the owner.
-
Element Details
-
name
-
joinColumn
String joinColumnNames the join-table key column referring to the owner.- Returns:
- column name; owner_id by default
- Default:
"owner_id"
-
inverseJoinColumn
String inverseJoinColumnNames the join-table key column referring to the target.- Returns:
- column name; target_id by default
- Default:
"target_id"
-