Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Hibernate-Interview-Questions Why to use Session interface in Hibernate?
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


ratna rathor
Why to use Session interface in Hibernate?
1 Answer(s)      2 years and 4 months ago
Posted in : Hibernate Interview Questions


Why to use Session interface in Hibernate?


Advertisement
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.



Related Tutorials/Questions & Answers:
Advertisements
 

 

 

DMCA.com