Client.beginTransaction

Starts a transaction on all connections being managed by the given GdaClient. It is important to note that this operates on all connections opened within a GdaClient, which could not be what you're looking for. To execute a transaction on a unique connection, use gda_connection_begin_transaction, gda_connection_commit_transaction and gda_connection_rollback_transaction.

class Client
int
beginTransaction

Parameters

xaction Transaction

a GdaTransaction object.

Return Value

Type: int

TRUE if all transactions could be started successfully, or FALSE if one of them fails.

Meta