Why to use Session interface in Hibernate?

Ads
 

Why to use Session interface in Hibernate?

Why to use Session interface in Hibernate?

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:
Why to use Session interface in Hibernate?
Session Interface in hibernate.
Advertisements
why we use abstract class in java?
What is the main feature of Hibernate3?
Feature of Hibernate3
Define the session factory interface in hibernate?
How to use session in struts 1.3
Why do we use ORM?
Why to use Spring Framework?
why we use constructors instead of methods in java?
Why not use Double or Float to represent currency?
Why we use singleton class in hibernate sessionfactory?
What is Angular and Why Use It?
why we use design patterns in java?Example?
Which java collection to use in scenario below and Why?
why we use struts framework instead of springs
Why Use Docker for Development?
arrays,why we cannot use this statement
arrays,why we cannot use this statement
Identify the interface and method for each of the following: retrieve the session bean's remote home interface, retrieve the session bean's local component interface, determine if the sessio
Why does Java provide both abstract class as well as interface
why we use ^ operator in sql, and what is the meaning of that operator?
where exactly we use interface and where abstract class?
can we use class in jsp which implements interface
interface
Identify the use and behavior of the MessageDrivenContext interface methods.
Session
Why we should use string args[] in main method in java?
In Composite Key Insertion Operation why the POJO class should implement Seriliazalbe interface?
Interface
How to use filter to redirect to login page after session timeout.

Ads