EJBConnection:
GetEJBTransaction method
Description
Returns a reference to the EJBTransaction object associated
with the client.
Syntax
1 |
<span>connection</span>.GetEJBTransaction (<span> </span>) |
Argument |
Description |
---|---|
connection |
The name of the EJBConnection object |
Return Values
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 |
// Instance variables:<br>// EJBConnection myconnect<br>EJBTransaction mytrans |
1 |
long ll_status<br> <br>mytrans = myconnect.<span>GetEJBTransaction</span>()<br>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