finding DB connections that are not closed properly

andaloss

New Member
There have been some leaks found in the code of a large project where DB connections are opened yet not closed.The DB is DB2 and the connections are opened in a java program and not properly closed in a try catch, finally..Is there any way to search in java for all methods which open a connection yet don't close it?I'm trying to avoid manually looking through each method that opens a connection to see if it's closed properly.any help with this tedious task would be cool.
 
Top