Question: What is the difference between getCurrentSession() and openSession() in Hibernate?
What is the difference between getCurrentSession()
and openSession() in Hibernate?
Step by Step Solution
3.36 Rating (159 Votes )
There are 3 Steps involved in it
In Hibernate both t C u r r e n t S e s s i o n t C u r r e n t S e s s i o n and o p e n S e s s i o n o p e n S e s s i o n methods are used to get ... View full answer
Get step-by-step solutions from verified subject matter experts
