Updating Model Count
This term refers to the number of times any model is updated during the execution of a command. It determines whether a transaction of any scope is required to execute the command safely.
The count may be as follows:
Count | Description |
---|---|
| This command performs no updates |
| Indicates that only one model is updated by this command (and its subcommands). Also, the success or failure of that update corresponds to the success or failure of the command. It should not be possible for the update to succeed while the command fails. Execution is not considered transactionally unsafe |
| Any number greater than 1 indicates that execution is transactionally unsafe, and an XA transaction will be required |