A simple java application uses Hibernate core to access db. Which of the following statements are true?

  1. Hibernate gets initialized when the application starts.

  2. Hibernate gets initialized when one calls first db access Query object.

  3. Hibernate gets initialized when a SessionFactory is created.

  4. Hibernate gets initialized when first session gets created.


Correct Option: C

Find more quizzes: