After #30679, #31414, and #31907, if a method is a @TransactionalEventListener
with a propagation level other than @Transactional(propagation = Propagation.REQUIRES_NEW)
or @Transactional(propagation = Propagation.NOT_SUPPORTED)
, a runtime error will be thrown.
However, there is no runtime error yet for @Transactional
with all propagation level on the top of the class.
For classes that use @Service
with @Transactional
at the top and don't attach this annotation to the method where the write operation takes place, there were cases where it didn't work as intended because no runtime error was thrown.
So I'd like to contribute to this.
Comment From: pivotal-cla
@Jaeyoung22 Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.
Comment From: pivotal-cla
@Jaeyoung22 Thank you for signing the Contributor License Agreement!