Preprocess hooks for doInsert, doUpdate and doDelete in the DB util.