|
checkPointTransaction
|
The checkPointTransaction 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 either of the
abortTransaction, checkPointTransaction, 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 checkPointTransaction
or a commitTransaction function is evaluated, all objects stored in the ObjectRepository,
up to the previous beginTransaction, are made persistent. When to use The checkPointTransaction function leaves the ObjectRepository with the current
transaction still in progress. The checkPointTransaction function is equivalent to
invoking a commitTransaction function immediately followed by another beginTransaction
function.
(checkPointTransaction aGor) This function 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_checkPointTransaction_001
The newly set value in the Object Repository after the
beginTransaction is returned after the checkPointTransaction 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, then re-opened again. ObjectRepository
Returns:
Examples
Argument Types
ObjectRepository
Boolean
How do I contact the AIS team?