[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: How to force an open transaction for test purposes

Status
Not open for further replies.
F

frank.meulblok

Guest
Transactions should end when the iteration of the block they are scoped to ends. Given that, it shouldn't be possible for a (sub)transaction started in a callee to still be active when control gets back to the caller -> the callee and any blocks it contains will have moved out of scope at that point. (Side note: If the buffers used in a tranaction do remain in scope when the transaction ends, locked records won't be released; they'll move to downgraded share-locks instead. That can cause other issues.) Whatever the issue was, it's most likely that the bad transaction was opened earlier on the call stack than the program the user was actually using to interact with the data.

Continue reading...
 
Status
Not open for further replies.
Top