Unit 'msqldb' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#msegui]

TSQLTransaction.Commit

Commit closes the transaction, so its bound datasets are closed and reopened (refetched) on next access

Declaration

Source position: msqldb.pas line 437

public function TSQLTransaction.Commit(

  const checksavepoint: Boolean = True

):Boolean; virtual;

Description

Commit closes the transaction, so its bound datasets are closed and reopened (refetched) on next access; CommitRetaining keeps the transaction (and so the datasets) open, only refreshing them if tao_refreshdatasets is set. Same for Rollback/RollbackRetaining, except RollbackRetaining always refreshes.


Documentation generated on: 2026-10-03