SetTransactionTimeout – PB Docs 126

EJBTransaction:

SetTransactionTimeout method

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 Values

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


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