Closing Database Connections in Java
http://stackoverflow.com/questions/2225221/closing-database-connections-in-java When you're done with using your Connection, you need to explicitly close it by calling its close() method in order to release any other database resources (cursors, handles, etc) the connection may be holding on to. Actually, the safe pattern in Java is to close your ResultSet, Statement, and Connection (in that ord..