D Dominik Böhm Member Licensed User Longtime User Sep 2, 2020 #1 Hi, i need to set the Transaction Isolation Level. Is this possible to access this field on the connection object? Progress Customer Community knowledgebase.progress.com Connection (Java Platform SE 7 ) Java: sqlConnSession = (Connection) testLwPool.getConn(); sqlConnSession.setTransactionIsolation(Connection.TRANSACTION_READ_COMMITTED); B4X: ... Try SQL1 = Pool.GetConnection Catch LOG(LastException.Message) End Try ... thanks
Hi, i need to set the Transaction Isolation Level. Is this possible to access this field on the connection object? Progress Customer Community knowledgebase.progress.com Connection (Java Platform SE 7 ) Java: sqlConnSession = (Connection) testLwPool.getConn(); sqlConnSession.setTransactionIsolation(Connection.TRANSACTION_READ_COMMITTED); B4X: ... Try SQL1 = Pool.GetConnection Catch LOG(LastException.Message) End Try ... thanks
Erel B4X founder Staff member Licensed User Longtime User Sep 3, 2020 #2 B4X: Dim connection As JavaObject = SQL1 connection = connection.GetField("connection") connection.RunMethod("setTransactionIsolation", Array(2)) 'TRANSACTION_READ_COMMITTED Upvote 0
B4X: Dim connection As JavaObject = SQL1 connection = connection.GetField("connection") connection.RunMethod("setTransactionIsolation", Array(2)) 'TRANSACTION_READ_COMMITTED