S

Satya • 3.38K Points
Extraordinary

Q. Which annotation is used for many-to-many relationship?

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

Explanation by: Satya
@ManyToMany maps multiple entities to multiple entities.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.