posted 21 years ago
I have a class that establishes database connection, executes SQL query and returns ResultSet:
Since I return ResultSet and for it to get returned do not close ResultSet, what are consequences if any if I don't do rs.close()? Will ResultSet get collected by garbage collector since I call static method within a class?
thanks,
Alex
All right brain, you don't like me and I don't like you, but let's just do this one thing so I can get back to killing you with beer.<br /> <br />- Homer Simpson