mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#2135 - ebean doest not support Spring @Transactional(propagation = Propagation.REQUIRES_NEW)
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user