DEFAULT-COMMIT attribute
- Last Updated: January 18, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
(PAS for OE only)
Indicates how an open transaction under the control of a transaction initiating procedure is to complete if the procedure is deleted in the absence of any SET-COMMIT( ) method or SET-ROLLBACK( ) method.
Data type: LOGICAL
Access: Readable/Writeable
Applies to: Transaction object handle
Setting the DEFAULT-COMMIT attribute to TRUE ensures that the transaction is completed. Setting it to FALSE ensures that the transaction is rolled back. The default value is FALSE.
Note: One common event that can terminate an open transaction
is deleting the transaction initiating procedure that created the
transaction.