Closing JDBC Objects Explicitly Can Save You Headaches!
Most Java programmers close a connection with the database directly?without closing the ResultSet or Statement. For example, take a look at the following code snippet: try { Class.forName( “sun.jdbc.odbc.JdbcOdbcDriver” );