S

Satya • 3.38K Points
Extraordinary

Q. Which annotation defines many-to-one relationship?

  • (A) @OneToMany
  • (B) @ManyToOne
  • (C) @ManyToMany
  • (D) @OneToOne
  • Correct Answer - Option(B)
  • Views: 9
  • Filed under category Hibernate
  • Hashtags:

Explanation by: Satya
Many records of one entity relate to one record of another entity.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.