mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +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:
@@ -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