This may sound unrealistic but I am getting an error for below function when I apply strict checkcode on my project, Error -
Ensure that resources like this ResultSet object are closed after use
My function looks like -
How do I close this resultSet after I return it ? ...wierd, but I think there is something that could be done...may be different approach..please let me know.
Ensure that resources like this ResultSet object are closed after use
My function looks like -
How do I close this resultSet after I return it ? ...wierd, but I think there is something that could be done...may be different approach..please let me know.