S
santax
Hi
The book "Java Persistence with Hibernate" referce to “OSIVâ€ï¼ˆOpen
Session in Vies).
Session was get by getCurrentSession in this pattern.
They said the session get by this way is binding to the Thread ,Does
this mean the session will open and close automaticlly ? If the thread
finished , the session will close automaticlly and don't need be
closed manually?
Thanks.
The book "Java Persistence with Hibernate" referce to “OSIVâ€ï¼ˆOpen
Session in Vies).
Session was get by getCurrentSession in this pattern.
They said the session get by this way is binding to the Thread ,Does
this mean the session will open and close automaticlly ? If the thread
finished , the session will close automaticlly and don't need be
closed manually?
Thanks.