I created a new class (User.OperationSQL) which extends Ens.BusinessOperation and uses
Parameter ADAPTER = "EnsLib.SQL.OutboundAdapter";
Property Adapter As EnsLib.SQL.OutboundAdapter;
Do you see Ens.BusinessOperation and EnsLib.SQL.OutboundAdapter?
I believe we were working on HealthShare 2017. Not sure why you ask?
I have done this previously in this class:
Class User.OperationSQL Extends Ens.BusinessOperation
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()
To leave a comment or answer to post please log in
Please log in
To leave a post please log in