Online Training Spring Hibernate Training in Delhi R Programming Training Course Big Data and Hadoop Training Java Training  
 

Why to use Session interface in Hibernate?

Ads

 
 

Share on Google+Share on Google+

ratna rathor
Why to use Session interface in Hibernate?
1 Answer(s)      5 years and a month ago
Posted in : Hibernate Interview Questions

Why to use Session interface in Hibernate?

Ads
View Answers

June 11, 2012 at 5:29 PM


Session interface is defined in org.hibernate.Session. It is a single-threaded, short-lived object representing a conversation between the application and the persistent store. It wraps the JDBC connection and also allows you to create query objects to retrieve persistent objects.


Ads









Related Tutorials/Questions & Answers:
Advertisements