Oracle Objects for OLE C++ Class Library
Release 9.2

Part Number A95896-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback

SetAutoCommit Method

Applies To

ODatabase

Description

Sets the autocommit mode of the ODatabase object.

Usage

oresult SetAutoCommit(bool autocommit)

Arguments

autocommit
Specifies whether the autocommit mode is set to True or False.
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, 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback