• +91 9723535972
  • info@interviewmaterial.com

Hibernate Interview Questions and Answers

Question - Difference between Session and SessionFactory in Hibernate?

Answer -

This is yet another popular Hibernate Interview Question asked.

  • A Session is a single-threaded, short-lived object. It provides the first-level cache.
  • SessionFactory is immutable and shared by all Session. It also lives until the Hibernate is running. It also provides the second-level cache.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners