fremarti
fremarti
What I forgot to mention: Originally, I had the transactional annotation attached to the service method. This is when I recognized the side effects, so I adjusted that. Besides the...
I either see that the transaction has already been aborted which imo means that requests are sharing a transaction: ```bash org.springframework.data.mongodb.MongoTransactionException: Command failed with error 251 (NoSuchTransaction): 'Transaction with {...
@jyemin we used MongoDB 6.0.18 and Java 21, but the problem should also occur with your version setup as I just tried it. When I run the tests approx. every...
Yes, that is correct. I did exactly the same. I downloaded the https://github.com/user-attachments/files/17540925/minimal-sample.zip demo project and ran that with the exact same versions as you in Intellij. When I replace...
I used `temurin-17.0.13+11` to run the test. A failed test stack trace looks likes this: ```bash 2024-10-30T16:15:28.409+01:00 ERROR 92039 --- [ Thread-10] a.w.r.e.AbstractErrorWebExceptionHandler : [a6c7130e-5] 500 Server Error for HTTP...
Thanks for your help with this and the quick solution!
I just tried to apply the fix and still get the same error: ```kotlin // FooController.kt @PostMapping(value = ["/foo"], consumes = [MediaType.APPLICATION_JSON_VALUE]) @Transactional fun foo(@RequestBody request: AnyDocumentRequest): Mono { return...
I can get it fixed if I use `concatMap` instead of `flatMapSequential`. As I understand this ensures that not only the subscription process is sequentially, but also the result emission...