Multiple choice technology web technology

What is the root level element in a hibernate mapping file?

  1. <hibernate-mapping>

  2. <session-mapping>

  3. <sessionfactory-mapping>

  4. none of the above

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

The root-level element in a Hibernate mapping file is . This element serves as the container for all class and collection mappings. It can include attributes like package, schema, and catalog to apply defaults to nested mappings.