Enforce REQUIRES_NEW for correct transaction configuration
Closes gh-31414
This commit is contained in:
@@ -233,7 +233,7 @@ public class TransactionalApplicationListenerMethodAdapterTests {
|
||||
}
|
||||
|
||||
@TransactionalEventListener
|
||||
@Async @Transactional
|
||||
@Async @Transactional(propagation = Propagation.REQUIRES_NEW)
|
||||
public void withAsyncTransactionalAnnotation(String data) {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user