Android Question Active transaction

You can do this using the reflection library I think.

Code: Copy
Dim SQL1 As SQL
Dim R As Reflector
Dim inTransaction As Boolean
R.Target = SQL1
R.Target = R.GetField("db")
inTransaction = R.RunMethod("inTransaction")
Log(inTransaction)
 
Upvote 0
If you're using begin and end transaction, you can easily use a flag as erel suggested, and setting it to true at begin, and false after end.
 
Upvote 0
Back
Top