Constraint Evaluation and Commit

Previous Next

See Also

The aim of committing data manipulations is to secure the manipulation result in the database and make it available to other database users. By issuing the commit command from a USoft application, the user ends the transaction. A USoft commit (also called "save") corresponds to a database commit.

The commit routine usually occurs as a result of the user clicking the Save button on the toolbar or choosing File, Save from the menu bar. It may also be called by the application developer using the DataCommit() method.

The commit routine begins with the validation of non-validated records in the transaction. As part of the commit, deferred corrective constraints are evaluated. In addition, restrictive multi-record constraints listed at record validation time are evaluated against those records they were listed with.

Actions specified for the Pre-commit application property are executed just after the transaction is validated.