mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-24 07:14:55 +00:00
Adjustment on #1711, more explicit clearing of inactive transactions from thread local
This commit is contained in:
1 parent
2678f85506
commit
c839fe6520
10 files changed
+48
-13
No files matched your search
@@ -567,6 +567,13 @@ public class TransactionManager implements SpiTransactionManager {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Clear an implicit transaction from thread local scope.
|
||||
*/
|
||||
public void clearServerTransaction() {
|
||||
scopeManager.clear();
|
||||
}
|
||||
|
||||
/**
|
||||
* Begin an implicit transaction.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user