1.

What is a Session in Hibernate?

Answer»

A SESSION is an OBJECT that maintains the connection between Java object application and database. Session also has METHODS for storing, retrieving, modifying or deleting data from database using methods like persist(), load(), get(), UPDATE(), delete(), etc. Additionally, It has factory methods to return Query, Criteria, and Transaction objects.



Discussion

No Comment Found