begin


Description:

public bool begin () throws Error

Begins a distributed transaction (managed by this).

Please note that this phase may fail for some connections if a (normal) transaction is already started (this depends on the database provider being used), so it's better to avoid starting any (normal) transaction on any of the connections registered with this .

Parameters:

this

a XaTransaction object

Returns:

TRUE if no error occurred