adspace


How to get session object in hibernate?

Answer Posted / Puneet Kumar Bhardwaj

To obtain a Session object in Hibernate, you can call the `getCurrentSession()` method on your Hibernate util class (such as `HibernateUtil`) or create a new one using `Factory.openSession()`.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is latest hibernate version?

493