mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 22:56:28 +00:00
Fix memory leak in threadLocal on implicit transactions (#1711)
* refactor TestExecutionComplete
* Add more tests to discover missing threadScope cleanups
* FIX: clear threadScope on implicit created Jdbc transactions
* FIX: clear threadScope on completed JTA transactions
* Revert "FIX: clear threadScope on completed JTA transactions"
This reverts commit f844405542.
This commit is contained in:
1 parent
2b1b4af7a2
commit
2678f85506
5 files changed
+75
-12
No files matched your search
@@ -34,6 +34,11 @@ public abstract class TransactionScopeManager implements SpiTransactionScopeMana
|
||||
*/
|
||||
public abstract void set(SpiTransaction trans);
|
||||
|
||||
/**
|
||||
* Clears the given Transaction for this serverName and Thread.
|
||||
*/
|
||||
public abstract void clear(SpiTransaction trans);
|
||||
|
||||
/**
|
||||
* Replace the current transaction with this one.
|
||||
* <p>
|
||||
|
||||
Reference in new issue
Block a user