Add delete before ins/update, redo if exception raised
Merge pull request #611 from xschildw/delete-before-after

Add delete before ins/update, redo if exception raised