Multiple choice technology programming languages

For an entire application in hibernate

  1. only one session factory is created

  2. depends on the application developed

  3. depends on thesession interfaces to be created

  4. Atleast 2 factories has to be created

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

A SessionFactory in Hibernate is a heavyweight, thread-safe object that is initialized once during application startup. Because it manages connections and mappings for the database, only one instance is typically created and shared across the entire application, making the other options incorrect.