Code example for Statement

Methods: close

0
  } 
   
  public static void close(Statement s) {
    if (s != null) {
      try { 
        s.close();
      } catch (SQLException e) {
        LOG.trace("SQLException", e);
      } 
    } 
  } 
 
  public static void close(ResultSet rs) {
    if (rs != null) {
      try { 
        rs.close();
      } catch (SQLException e) {
        LOG.trace("SQLException", e);
      } 
    } 
  }