Multiple choice technology databases

__________ allows application to create the Hibernate Sesssion by reading the configuration from hibernate.cfg.xml file

  1. Session

  2. ApplicationContext

  3. SessionFactory

  4. Hibernate Object

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

The SessionFactory is responsible for creating Session instances. It reads the configuration from hibernate.cfg.xml during initialization and provides a thread-safe factory for creating Sessions. The Session itself is created by SessionFactory, not the other way around. ApplicationContext is a Spring concept.