edmiCommitTransaction


 

EdmiError edmiCommitTransaction(void);

Commit (and close) the current open transactions>. All changes to the EDMdatabase performed in the current open transaction will be made persistent in the EDMdatabase. When the current committed transaction is part of a nested transaction, the changes performed in the actual committed transaction can be undone by a later edmiAbortTransaction operation. Hence updates to an EDMdatabase in nested transactions will not be made persistent before the first started transaction in the nested transaction is committed, or all open transactions are closed by the edmiCommitAllTransactions operation.

 

Arguments


 

Return Value


Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.

 

Options


  

 

Example


 

 EdmiError rstat;
 . . .
 /* Open transaction */
 if (rstat = edmiStartTransaction()) goto errorInTransaction;
 . . .
 /* Commit (make persistent) all changes done in current open transaction;
 close current open transaction */ 
 . . .

 

See also

Filter by label

There are no items with the selected labels at this time.

Â