Managing transactions

The UltraLite C++ API does not support AutoCommit mode. Transactions are started implicitly by the first statement to modify the database, and must be explicitly committed or rolled back.

 Commit a transaction
  • Execute a conn->Commit statement, where conn is a valid ULConnection pointer.

 Roll back a transaction
  • Execute a conn->Rollback statement, where conn is a valid ULConnection pointer.

 See also