code: public void insertData(Reader input, int batchSize) throws DataTaskException
      {
          try
          {
              DataSet set = (DataSet)_digester.parse(input);
              
              set.insert(_platform, _dbModel, batchSize);
          }
          catch (Exception ex)
          {
              if (ex instanceof DataTaskException)
              {
                  // is not declared by digester, but may be thrown
                  throw (DataTaskException)ex;
              }
              else
              {
                  throw new DataTaskException(ex);
              }
          }
      }
docs: Returns the sql necessary to add the data XML contained in the given input stream.
  Note that the data is expected to match the repository metadata (not the table schema).
  Also note that you should not use the reader after passing it to this method except closing
  it (which is not done automatically).
  
  @param input     A reader returning the content of the data file
  @param batchSize The batch size; use 1 for not batch insertion