This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes About Number of Connection Statement and RsultSet objects Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "About Number of Connection Statement and RsultSet objects" Watch "About Number of Connection Statement and RsultSet objects" New topic
Author

About Number of Connection Statement and RsultSet objects

hem kum
Greenhorn

Joined: Dec 23, 2007
Posts: 9
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

Joined: Oct 14, 2005
Posts: 19693
    
  10

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

Joined: Jun 26, 2002
Posts: 862
Jamon tracks that and more.


http://www.jamonapi.com/ - a fast, free open source performance tuning api.
JavaRanch Performance FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: About Number of Connection Statement and RsultSet objects
 
jQuery in Action, 3rd edition