XaTransaction.commitRecovered

bool commitRecovered(out gda.connection.Connection[] cncToRecover)

Tries to commit the data prepared but which failed to commit (see [gda.xa_transaction.XaTransaction.commit]). This method allows one to terminate a distributed transaction which succeeded but for which some connections needed to be recovered.

Parameters

cncToRecovera place to store the list of connections for which the there were data to recover and which failed to be actually committed, or null

Returns

true if all the data which was still uncommitted has been committed

Throws

[XaTransactionException]