• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

About Number of Connection Statement and RsultSet objects

 
hem kum
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI all, I'm just curious to know if there is any way to know how many instances of Connection objects , Statement objects or ResultSet objects are being used in my application and even if i forget to close some instances, Still how many are left behind. I'm using jndi connectin with mysql database and netbeans IDE.
Thank you all...
 
Paul Clapham
Sheriff
Posts: 21000
31
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most profilers will give you that kind of information. I believe that Netbeans includes a profiler, but I don't know anything about it.
 
steve souza
Ranch Hand
Posts: 862
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jamon tracks that and more.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic