Configure SQL.OutboundAdapter to SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED
Hi,
DBA has asked me to configure a working Business Operation using a SQL.OutboundAdapter (connecting to external MSSQL server) to run as TRANSACTION ISOLATION LEVEL READ UNCOMMITTED.
I would like help with an example of how this is done.
Thanks
Product version: IRIS 2023.1
Hi Yakov,
You can set in the Connection String (JDBC) or using the adapter method SetConnectAttr
Check the database documentation to see the rigth values.
Thanks
can you provide an example of code ?
from the documentation i am not clear of the exact syntax.
Hi Yakov,
You can see from the Docs here, for example re the Property ConnectAttrs (or later ConnectionAttributes):
For calling SetConnectAttr() see these Docs, for example:
Set tout= ..Adapter.SetConnectAttr("querytimeout",10)
As to the name of the attribute and the appropriate value you should consult the SQL Server documentation (for example this, but this will be up to you to verify).
If you need more assistance than this please get in touch and we can work on this together.
Hi Tani,
Will be in touch.
Thanks