code: public void add(Map values) throws SQLException {
          getResultSet().moveToInsertRow();
          for (Iterator iter = values.entrySet().iterator(); iter.hasNext();) {
              Map.Entry entry = (Map.Entry) iter.next();
              getResultSet().updateObject(entry.getKey().toString(), entry.getValue());
          }
          getResultSet().insertRow();
      }
docs: Adds a new row to the result set
  
  @param values a map containing the mappings for column names and values
  @throws java.sql.SQLException if something goes wrong
  @see ResultSet#insertRow()
  @see ResultSet#updateObject(java.lang.String, java.lang.Object)
  @see ResultSet#moveToInsertRow()