Hello Jack,
I have done this previously in this class:
Class User.OperationSQL Extends Ens.BusinessOperation
{
Parameter ADAPTER = "EnsLib.SQL.OutboundAdapter";
Property Adapter As EnsLib.SQL.OutboundAdapter;
...
I have this code to begin transaction:
set tSC = ..Adapter.SetAutoCommit(0)
I have this code to commit transaction:
set tSC = ..Adapter.Commit()
In case of rollback I use this code:
Set rollbackSt = ..Adapter.Rollback()
- Log in to post comments
.png)