mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-08 00:38:20 +00:00
#1357 - Regression in 11.15.2 - for nested Ebean.beginTransaction(TxScope.requiresNew()); ... where closed via ebeanServer.endTransaction(); rather than transaction.end()
This commit is contained in:
1 parent
6b136248fa
commit
b8c4e1c3d3
2 files changed
+63
-1
No files matched your search
@@ -843,7 +843,7 @@ public final class DefaultServer implements SpiServer, SpiEbeanServer {
|
||||
*/
|
||||
@Override
|
||||
public void endTransaction() {
|
||||
Transaction transaction = currentTransaction();
|
||||
Transaction transaction = transactionManager.getInScope();
|
||||
if (transaction != null) {
|
||||
transaction.end();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user