GetEJBTransaction
Description
Returns a reference to the EJBTransaction object associated with
the client.
Syntax
|
1 |
connection.GetEJBTransaction ( ) |
|
Argument |
Description |
|---|---|
|
connection |
The name of the EJBConnection object used to |
Return value
EJBTransaction
Examples
This example shows the use of GetEJBTransaction to return a
reference to the EJBTransaction object so that you can control
transactions from the client:
|
1 2 3 4 5 6 7 |
// Instance variables: // EJBConnection myconnect EJBTransaction mytrans long ll_status mytrans = myconnect.GetEJBTransaction() ll_status = mytrans.GetStatus() |
Usage
The PowerBuilder client can control the transaction demarcation of
EJBs. After a transaction has been started with the EJBTransaction
Begin method, GetEJBTransaction can be used to return the name of the
transaction.
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest