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

Commit – PB Docs 125 – PowerBuilder Library

Commit – PB Docs 125

EJBTransaction:

Commit method

Description

Declares that the calling thread transaction should be committed.

Syntax

Argument

Description

ejbtrans

The name of an EJBTransaction object

Return Values

None

Examples

In this example, the client calls the dopayroll method
on the CmpnyAcct EJB component, which processes a company payroll.
If the company has sufficient funds to meet the payroll, the client
commits the transaction. Otherwise, an exception is thrown and the
client rolls back the transaction:

Usage

The Commit method completes the transaction
associated with the calling thread. The transaction is not completed
if any other participants in the transaction vote to roll back the
transaction.

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