• Post Reply Bookmark Topic Watch Topic
  • New Topic

CurrentSession - open JDBC Connections in CMT

Rvrk reddy
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
We are left with few open JDBC connections, not sure why,
using getSessionFactory().getCurrentSession() in CMT.
Do we need to close the session explicitly.
As per my understading CMT closes this part of transaction.
Do you think we need to add following to Hbt-Config:

Thanks in advance, R.
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!