XaTransaction.commitRecovered

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.

class XaTransaction
bool
commitRecovered

Parameters

cncToRecover gda.connection.Connection[]

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

Return Value

Type: bool

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

Throws