Announcement Announcement Module
Collapse
No announcement yet.
What does getSessionOpenCount() -getSessionCount() represent Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • What does getSessionOpenCount() -getSessionCount() represent

    Hi all,
    I am using HibernateStatistics to monitor session leakage. And to monitor session leakage I am relying on this

    Code:
    hibernateStatistics.getSessionOpenCount() -hibernateStatistics.getSessionCloseCount()
    In my application this numbers keeps on increasing.So I have three specific questions

    1.What does this indicate?Does it indicate that there is a session leak in my application?

    2.How can I diagonse the parts of application which is causing this leak?Is there some tool

    3.What does this number represents?Does it represents total no of open connection with DB?
Working...
X