Multiple choice technology programming languages

Which tag in hibernate.cfg.xml is used to add a resource hbm xml for the current session factory instance?

  1. <hibernate-configuration>

  2. <session-factory>

  3. <mapping>

  4. <property>

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

The tag in hibernate.cfg.xml is used to add HBM XML resources for the current session factory. Each mapping resource points to an XML file containing entity mappings.