How to use the latest buildSessionFactory in Hibernate 4?

Hello,

I am fairly new to Hibernate and i would like to know how to use the latest buildSessionFactory in Hibernate 4?

View Answers

January 28, 2014 at 1:43 PM

Hello Friend,

buildSessionFactory has been deprecated in Hibernate 4 and a new API is developed to create the SessionFactory in Hibernate 4.

Go through this link to understand clearly about hibernate build sessionfactory -

Since you are new to hibernate, you migh want to check out the-

I hope that your query will be resolved...









Related Tutorials/Questions & Answers:
Advertisements