for(int i = 0, j = 0; i < dataStoreMeta.getFieldCount(); i++) {
IFieldMetaData fieldMeta = dataStoreMeta.getFieldMeta(i);
Boolean calculated = (Boolean)fieldMeta.getProperty("calculated");
if(calculated.booleanValue() == false) {
Assert.assertTrue(j < row.length, "Impossible to read field [" + fieldMeta.getName() + "] from resultset");
record.appendField( new Field( row[j] ) );
if(row[j] != null) fieldMeta.setType(row[j].getClass());
j++;
} else {
DataSetVariable variable = (DataSetVariable)fieldMeta.getProperty("variable");
if(variable.getResetType() == DataSetVariable.RESET_TYPE_RECORD) {