|
commitTransaction
|
The commitTransaction function closes the specified ObjectRepository database archive file {aGor}
and marks the end of a series of transactions. When a beginTransaction function is evaluated, the
ObjectRepository treats all transactions as temporary until the abortTransaction, or commitTransaction
functions are evaluated. If an abortTransaction function is evaluated, all objects stored in the
ObjectRepository, up to the previous beginTransaction, are rolled back; however, if a commitTransaction
function is evaluated, all objects stored in the ObjectRepository, up to the previous beginTransaction,
are made persistent. When to use Use the commitTransaction function to close an archive file and end a series of transactions.
(commitTransaction aGor ) Returns the Boolean value true, or an error value if an error occurred.
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Example_ObjectRepository_commitTransaction_001
The commitTransaction saves the values that are set
after the beginTransaction function.
Here are the links to the data types of the function arguments. Here are also a number of links to functions having arguments with any of these data types.
You can always talk with the AIS at aiserver.sourceforge.net.
Name
Description
AIS Types aGor The ObjectRepository whose database archive file is to be closed. ObjectRepository
Returns:
Examples
Argument Types
ObjectRepository
Boolean
How do I contact the AIS team?