public static void closeStatement ( Statement statement ) { try { if ( statement != null && ! statement . isClosed ( ) ) { statement . close ( ) ; } } catch ( SQLException ex ) { LOGGER . trace ( statement . toString ( ) , ex ) ; } }
Closes the given statement object ignoring any exceptions that occur .