Skip Headers

Oracle® Objects for OLE C++ Class Library Developer's Guide
Release 9.2.0.4

Part Number B10954-01
Go To Table Of Contents
Contents

GetAutoCommit Method

Applies To

ODatabase

Description

Returns the autocommit mode of the ODatabase object.

Usage

bool GetAutoCommit(void)

Arguments

none

Remarks

If AutoCommit is set to True, all the data operations that modify data in the database are automatically committed after the statement is executed.

If AutoCommit is set to False, you need to use the ODatabase transaction methods (BeginTrans, CommitTrans, and Rollback) or SQL statements to control transactions.


 
Oracle
Copyright © 1998, 2003 Oracle Corporation.

All Rights Reserved.
Go To Table Of Contents
Contents