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

SetRollbackOnly – PB Docs 2018 – PowerBuilder Library

SetRollbackOnly – PB Docs 2018

SetRollbackOnly

Description

Modifies a transaction associated with a calling thread so that
the only possible outcome is to roll back the transaction.

Syntax

Argument

Description

ejbtrans

The name of an EJBTransaction object

Return value

None

Examples

In this example, a participant in a transaction has determined
that it should be rolled back. The participant gets a reference to the
current transaction and votes to roll back the transaction:

Usage

Rollback is typically called by the originator of the transaction,
but another participant in a transaction can call SetRollbackOnly to
vote that the transaction should be rolled back.

See also

Begin

Commit

GetStatus

GetEJBTransaction
(EJBConnection class)

Rollback

SetTransactionTimeout


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