Multiple choice technology web technology

Which of the following association needs tag element in mapping file?

  1. One to one

  2. One to many

  3. Many to one

  4. None of the above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The tag in Hibernate mapping files is specifically used for one-to-many associations when you need to represent a collection that maintains key-value pairs and preserves insertion order. Other association types use different tags like or .