#2135 - ebean doest not support Spring @Transactional(propagation = Propagation.REQUIRES_NEW)

This commit is contained in:
rob bygrave
2020-12-21 16:40:19 +13:00
parent 400ae3cf4b
commit 6b2c48d4f6
@@ -634,7 +634,7 @@ public class TransactionManager implements SpiTransactionManager {
public ScopedTransaction externalBeginTransaction(SpiTransaction transaction, TxScope txScope) {
ScopedTransaction scopedTxn = new ScopedTransaction(scopeManager);
scopedTxn.push(new ScopeTrans(rollbackOnChecked, false, transaction, txScope));
scopeManager.set(scopedTxn);
scopeManager.replace(scopedTxn);
return scopedTxn;
}