0 votes
in Hibernate by

Can you tell the difference between the getCurrentSession and openSession methods? 

1 Answer

0 votes
by

The getCurrentSession method creates or retrieves the current Session from the current session context. In contrast, the open Session process begins a new session that is not bound to the current context. 

...