All desirable things in life are either illegal, banned, expensive or married to someone else !!!
All desirable things in life are either illegal, banned, expensive or married to someone else !!!
Originally posted by Praful Thakare:
Oh come on guys,there must be some way to get it from hibernate!!!
Hibernate uses a connection pool manager (c3p0 by default) so it's the pool manager that keeps them open, not Hibernate.
All desirable things in life are either illegal, banned, expensive or married to someone else !!!
why do you want to get the number of open connections
All desirable things in life are either illegal, banned, expensive or married to someone else !!!
All desirable things in life are either illegal, banned, expensive or married to someone else !!!
I did not write demo application,but used same business flow under load,and I am sure all sessions are closed in the business method
All desirable things in life are either illegal, banned, expensive or married to someone else !!!
Thats exactly why i need to find number of open connections
I have to test if changing "ConnectionReleaseMode" forces closing connection on executing the statement (after_statement).
All desirable things in life are either illegal, banned, expensive or married to someone else !!!
Consider Paul's rocket mass heater. |