Home How To Online Documentation Support Download Order

 

 

 

SACommand
SAConnection
SAException
SAField
SAParam

SAString
SADateTime
SANumeric
SAInterval

Enums and Typedefs

  

Usage

Class Members

Examples

SAConnection::AutoCommit

SAAutoCommit_t AutoCommit() const;

Checks whether autocommit is enabled or disabled for the current connection. 

Return value

One of the following values from SAAutoCommit_t enum:

  • SA_AutoCommitUnknown     Unknown.
  • SA_AutoCommitOff     Autocommit is off.
  • SA_AutoCommitOn    Autocommit is on.

Remarks

Function returns autocommit option state that was previously set by setAutoCommit. Returns SA_AutoCommitUnknown if no autocommit mode was set. In that case see DBMS specific documentation for default autocommit option used. 

To change current autocommit option state use setAutoCommit method. 

Server specific notes

No specific information.

See also

setAutoCommit, Commit 

SAAutoCommit_t

Problems and Questions

If you haven't found the answer to your questions or have some problems on using the Library, please, send e-mail to howto@sqlapi.com.