What is the root level element in a hibernate mapping file?
-
<hibernate-mapping>
-
<session-mapping>
-
<sessionfactory-mapping>
-
none of the above
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.