beginnerJPA Relationships & Mapping
Explain @OneToOne, @OneToMany, @ManyToOne, and @ManyToMany with examples.
Tests whether you can correctly model and annotate all four core JPA relationship types.
This is a Pro question
Sign in, then upgrade to Pro or Power to unlock this question and the full Interview Prep bank.
Explain @OneToOne, @OneToMany, @ManyToOne, and @ManyToMany with examples.