Open Blackdread opened 5 years ago
@Blackdread , i'm not very aware of Spring Boot and Async annotation, but I was trying to reproduce your case without a success.
Could you check that commit 15da8f20 and tell me what to fix to fail the test?
See https://github.com/JetBrains/Exposed/pull/676
Because it finds some reactive class on the classpath, it then decides to use reactive transaction manager. So maybe exposed transaction manager should support reactive and non reactive, or then should force spring to not use reactive transaction manager. In my project I have webflux dependency because I use WebClient and get this error with Exposed.
Sorry, but it looks like it can't be fixed easily as ReactiveTransactionManager highly depends to Reactor api and should be implemented after implementing #456 . That issue is in a roadmap.
I use
Get this error when moving from spring-boot-starter-parent 2.1.9.RELEASE to 2.2.0.RELEASE.
I get this error when calling a method in a @Service class and is annotated with @Async and @Transactional
For some reason Spring determines that it should use a ReactiveTransactionManager but I do not use any reactive features like Mono, Flux, Flow. And no dependency to reactor in maven, etc.