×
Menu
Index

Transactions

 

Introduction

Using Transactions it is possible to group a number of changes to the XML Document and commit or rollback themall at onze depening on the result of the changes. This way a mechanism can be build that guarantees the integrity of databases.
 
Transactions can be made using the following Tools:
 
Begin transaction
 
By placing a Begin Transaction Tool a copy of the current Output XML is stored.
Commit
 
By placing a Commit Tool, the recent transaction will become finished and all changes will become definitive.
Rollback transaction
 
By placing a Rollback Tool the recent transaction will become finished and a copy of the Output XML will be restored. All changes during the transaction period will be lost.
 
If the Begin transaction is not followed by a Commit or a Rollback , than a Commit or Rollback will beforced depending on the Unfinished transaction setting at Configuration level.
 
There are a number for special Formula functions for transactions:
 
Changed() en Changed(;)
Decreased()
Deleted()
Increased()
Introduced()
Originalvalue()