Packages
libgda-5.0
Gda
XaTransaction
format_id
transaction_id
error_quark
XaTransaction
begin
commit
commit_recovered
register_connection
rollback
unregister_connection
XaTransaction
Object Hierarchy:
Gda.XaTransaction
Gda.XaTransaction
Gda.XaTransaction
GLib.Object
GLib.Object
GLib.Object->Gda.XaTransaction
Description:
[
CCode
( type_id =
"gda_xa_transaction_get_type ()"
) ]
public
class
XaTransaction
:
Object
Namespace:
Gda
Package:
libgda-5.0
Content:
Properties:
public
uint
format_id
{
get
;
construct
; }
public
string
transaction_id
{
owned
get
;
construct
; }
Static methods:
public
static
Quark
error_quark
()
Creation methods:
public
XaTransaction
(
uint32
format,
string
global_transaction_id)
Creates a new
XaTransaction
object, which will control the process of performing a distributed transaction across several connections.
Methods:
public
bool
begin
()
throws
Error
Begins a distributed transaction (managed by
this
).
public
bool
commit
(
out
SList
<
Connection
> cnc_to_recover)
throws
Error
Commits a distributed transaction (managed by
this
).
public
bool
commit_recovered
(
out
SList
<
Connection
> cnc_to_recover)
throws
Error
Tries to commit the data prepared but which failed to commit (see
commit
).
public
bool
register_connection
(
Connection
cnc,
string
branch)
throws
Error
Registers
cnc
to be used by
this
to create a distributed transaction.
public
bool
rollback
()
throws
Error
Cancels a distributed transaction (managed by
this
).
public
void
unregister_connection
(
Connection
cnc)
Unregisters
cnc
to be used by
this
to create a distributed transaction.
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref