SetRollbackOnly – PB Docs 126

EJBTransaction:

SetRollbackOnly method

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 Values

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


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