public static void closeStatement ( Statement statement , String sql ) { if ( statement != null ) { try { statement . close ( ) ; } catch ( SQLException e ) { log . log ( Level . WARNING , "Failed to close SQL Statement: " + sql , e ) ; } } }
Close the statement