Java Coder
What is the purpose of org.hibernate.SessionFactory?
1 Answer(s)      a year and 3 months ago
Posted in : Hibernate

Hello,

I have just started learning Hibernate and i came across org.hibernate.SessionFactory and i didn't understand its purpose. Can you explain it to me?

Thanks...

Advertisement
View Answers

January 27, 2014 at 6:28 PM


Hello Friend,

org.hibernate.SessionFactory is used to get org.hibernate.Session instances. You can read more about it here

*org.hibernate.SessionFactory and here

Thanks.