public static void closeQuietly(ResultSet rs){
  if (rs == null) {
    return;
  }
  try {
    rs.close();
  }
 catch (  SQLException ex) {
  }
}

public static void closeQuietly ( ResultSet rs ) { if ( rs == null ) { return ; } try { rs . close ( ) ; } catch ( SQLException ex ) { } }
helper method to quietly close resultsets .
