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

SetTransactionTimeout – PB Docs 2018 – PowerBuilder Library

SetTransactionTimeout – PB Docs 2018

SetTransactionTimeout

Description

Sets the timeout value for subsequent transactions. The
transaction is rolled back if it does not complete before the timeout
expires.

Syntax

Argument

Description

ejbtrans

The name of an EJBTransaction object

seconds

A long that specifies the number of seconds that
elapse before a transaction is rolled back

Return value

None

Examples

This example shows the use of SetTransactionTimeout to set the
timeout period to five minutes:

Usage

The SetTransactionTimeout method specifies the number of seconds
that can elapse before a transaction is rolled back. The timeout period
applies to transactions created by subsequent invocations of Begin. If
seconds is 0, no timeout period is in effect.

See also

Begin

Commit

GetStatus

GetEJBTransaction
(EJBConnection class)

Rollback

SetRollbackOnly


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