Does table work with buffering?

I am having trouble getting an editable table working with buffering (i.e. being able to commit or discard the edits). Is this even supported?

I have a Table setup with a BeanItemContainer as the container source. It would appear that the default FieldFactory creates fields with WriteThrough set to true, so I’ve changed the FieldFactory to use the WriteThrough status of the Table.

However the commit method on the Table doesn’t do anything because datasource is always null (even though I have set the container source and the underlying beans get updated correctly with WriteThrough set to true).

Is there something that I am doing wrong or does Table not support buffering?

Thanks in advance for any assitance.