Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

BeginTransaction – PB Docs 126 – PowerBuilder Library

BeginTransaction – PB Docs 126

BeginTransaction PowerScript function

Description

Creates an EAServer transaction
and associates it with the calling thread.

Controls

CORBACurrent objects

Syntax

Argument

Description

CORBACurrent

Reference to the CORBACurrent service
instance

Return Values

Boolean. Returns true if
it succeeds and false if the transaction could
not be created.

Usage

The BeginTransaction function creates a
transaction and modifies the transaction context of the calling
thread so that it is associated with the transaction. This enables
the calling thread to obtain information about the transaction and
control commits and rollbacks. BeginTransaction can
be called by a client or a component that is marked as OTS style. EAServer must be using the two-phase
commit transaction coordinator (OTS/XA). If the calling thread
is already associated with a transaction, BeginTransaction returns false. Nested
transactions are not supported.

Examples

This example shows the use of BeginTransaction to
create a transaction from a client:

See Also


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x