private void close(Connection conn, Statement stmt, ResultSet rs) {
		try {
			if (rs != null) {
				rs.close();
			}
		} catch (SQLException e) {
			log.error("An error occured on closing the ResultSet", e);
		}

		try {
			if (stmt != null) {
				stmt.close();
			}
		} catch (SQLException e) {
			log.error("An error occured on closing the statement", e);
		}

		try {
			if (conn != null) {
				conn.close();
			}
		} catch (SQLException e) {
			log.error("An error occured on closing the connection", e);
		}
	}
private void close(Connection conn, Statement stmt, ResultSet rs) {
		try {
			if (rs != null) {
				rs.close();
			}
		} catch (SQLException e) {
			log.error("An error occured on closing the ResultSet", e);
		}

		try {
			if (stmt != null) {
				stmt.close();
			}
		} catch (SQLException e) {
			log.error("An error occured on closing the statement", e);
		}

		try {
			if (conn != null) {
				conn.close();
			}
		} catch (SQLException e) {
			log.error("An error occured on closing the connection", e);
		}
	}
private void close ( Connection conn , Statement stmt , ResultSet rs ) { try { if ( rs != null ) { rs . close ( ) ; } } catch ( SQLException e ) { log . error ( "An error occured on closing the ResultSet" , e ) ; } try { if ( stmt != null ) { stmt . close ( ) ; } } catch ( SQLException e ) { log . error ( "An error occured on closing the statement" , e ) ; } try { if ( conn != null ) { conn . close ( ) ; } } catch ( SQLException e ) { log . error ( "An error occured on closing the connection" , e ) ; } }
Close a <code>Connection</code> and, <code>Statement</code>. Avoid
closing if null and hide any SQLExceptions that occur.

@param conn
The database connection to close
@param stmt
The statement to close
Close a <code > Connection< / code > and <code > Statement< / code > . Avoid closing if null and hide any SQLExceptions that occur .