Client.commitTransaction

Commits a running 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
commitTransaction

Parameters

xaction Transaction

a GdaTransaction object.

Return Value

Type: int

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

Meta