Rename newFields() -> resetFields()
More detailed exception message
Make Transaction.update/delete to use the correct transaction
Add update(Record record, ResultMode mode, Composite key)
Make Transaction.update(...) return the number of rows updated