Skip Headers
Oracle® Objects for OLE C++ Class Library Developer's Guide
10g Release 2 (10.2)

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

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.