B4J Question jSQL - How to set TransactionIsolation

Dominik Böhm

Member
Licensed User
Longtime User
Hi,

i need to set the Transaction Isolation Level. Is this possible to access this field on the connection object?

Java:
sqlConnSession = (Connection) testLwPool.getConn();
sqlConnSession.setTransactionIsolation(Connection.TRANSACTION_READ_COMMITTED);

B4X:
...
Try
  SQL1 = Pool.GetConnection
Catch
  LOG(LastException.Message)
End Try
...

thanks
 
Top