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

CommitTrans Method

Applies To

ODatabase

Description

Ends the current transaction and commits all pending changes to the database.

Usage

oresult CommitTrans(void) const

Arguments

none

Remarks

CommitTrans commits all pending transactions for the specified connection. This method has no effect if a transaction has not begun. When a session-wide transaction is in progress, you can use this method to commit the transactions for the specified connection prematurely.