Quantcast
Channel: Spring Community Forums - Data
Viewing all articles
Browse latest Browse all 297

What does getSessionOpenCount() -getSessionCount() represent

$
0
0
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?

Viewing all articles
Browse latest Browse all 297

Trending Articles