Let's test your knowledge. Click the correct answer from the options.
Which annotation is used to define a one-to-one relationship in Hibernate?
Click the option that best answers the question.
- @OneToOne
- @OneToMany
- @ManyToMany
- @JoinColumn
Which annotation is used to define a one-to-one relationship in Hibernate?