Why to use Session interface in Hibernate?

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.









Related Tutorials/Questions & Answers:
Why to use Session interface in Hibernate?
Session interface in Hibernate
Advertisements
Session Interface in hibernate.
Maven dependency for org.grails.plugins - hibernate5 version 7.0.6 is released. Learn to use hibernate5 version 7.0.6 in Maven based Java projects
Maven dependency for org.grails.plugins - hibernate5 version 7.0.7 is released. Learn to use hibernate5 version 7.0.7 in Maven based Java projects
Maven dependency for org.grails.plugins - hibernate5 version 7.0.5 is released. Learn to use hibernate5 version 7.0.5 in Maven based Java projects
Feature of Hibernate3
What is the main feature of Hibernate3?
Define the session factory interface in hibernate?
Why does Java provide both abstract class as well as interface
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
In Composite Key Insertion Operation why the POJO class should implement Seriliazalbe interface?
why we use abstract class in java?
interface
why to use hibernet as a dataacces layer
Interface
Session
interface
Maven Repository/Dependency: org.grails.plugins | hibernate5
Maven Repository/Dependency: hibernate | hibernate3
Why do we use ORM?
interface
interface
why to use hibernet vs jdbc
why we use constructors instead of methods in java?
Why not use Double or Float to represent currency?
Why to use Spring Framework?
Interface
Session
interface.
interface
interface
session
Why we use singleton class in hibernate sessionfactory?
INTERFACE
interface
interface
Session Object
session
session
interface
interface
session
struts1.2,EJB3.0 and Hibernate3 integration example application - EJB
Interface
How to use session in struts 1.3
why we use design patterns in java?Example?
What is Angular and Why Use It?
Session
Which java collection to use in scenario below and Why?

Ads