avoid errors during an insertion, update or deletion, control the database to rollback in case of failure or commit if succeed.