SavePoint method |
Applies to
TIB_Transaction
Declaration
Procedure SavePoint;
Description
This method is the saem as CommitRetaining except that it does not require
the datasets of the transaction to all be posted first. Its job is to simply
perform a call to the API function that does a commit retaining on the server.
So, if the transaction was active it goes back to the inactive or active pending
state depending on if a dataset needs to be posted or not.
A call to the SavePoint method does NOT actually end the logical transaction
even though you could say that it does end a physical unit of work.
AutoCommit does a SavePoint in order to make the new changes committed
immediatly. Even prior to the AfterPost method so that the new changes will be
visible to others if notification is sent from this event after a DML is
processed.