Home »
MCQs »
JPA MCQs
In a relationship mapping, which of the following annotations is used to indicate the join column?
7. In a relationship mapping, which of the following annotations is used to indicate the join column?
- @Join
- @Column
- @JoinColumn
- All of the above
Answer: C) @JoinColumn
Explanation:
@JoinColumn annotation is used to specify the join column in relationship mapping.