Skip Headers

Oracle® Objects for OLE C++ Class Library Developer's Guide
10g Release 1 (10.1)

Part Number B10119-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Feedback

BeginTrans Method

Applies To

ODatabase

Description

Begins a database transaction within the specified session.

Usage

oresult BeginTrans(void) const

Arguments

none

Remarks

After this method has been called, no database transactions are committed until a CommitTrans is issued. Alternatively, the session can be rolled back using Rollback. If a transaction has already been started, repeated use of BeginTrans causes an error.