code: public synchronized int dataToFields(Rec record) throws DBException
      {
          if (this.getDataSource() == null)
              throw new DBException(Constants.INVALID_RECORD);
          ((BaseBuffer)this.getDataSource()).resetPosition();
          return super.dataToFields(record);
      }
docs: Move the data source buffer to all the fields.
  <br /><pre>
  Make sure you do the following steps:
  1) Move the data fields to the correct record data fields, with mode Constants.READ_MOVE.
  2) Set the data source or set to null, so I can cache the source if necessary.
  3) Save the objectID if it is not an Integer type, so I can serialize the source of this object.
  </pre>
  Note: This is synchronized because VectorBuffer is not thread safe.
  @exception Exception File exception.
  @return Any error encountered moving the data.