Hibernate SessionFactory is an interface, and it is created with the help of Configuration object. It consists of all the database related property details and in this, either hibernate.properties, the hibernate.cfg.xml file is used for pulling it. In the case of the increased number of multiple databases, then the requirement of creating one SessionFactory per database.

BY Best Interview Question ON 05 Apr 2019