Changed DataEntityGenerator so that it does generation per iterable of rows.