Spring Tips: Reactive Transactions in MongoDB and R2DBC
Vložit
- čas přidán 28. 07. 2024
- Hi Spring fans! In this installment Josh Long (@starbuxman) looks at the just-announced support for reactive transactions, now supported in both R2DBC and MongoDB.
speaker: Josh Long
twitter: @starbuxman - Věda a technologie
Thanks from Bulgaria! Cool I applied it already in professional project
great stuff
You have a video on literally everything I look up. It’s kinda crazy. Almost like you are me except competent.
Cool! :)
Thanks for the demonstration. However, I wonder how to make integration test methods working with @Transactional - that's what I am used to when using JDBC repositories. Is it currently possible?
HI! Thank you for this tutorial. I'm trying to use your advice but have some problem - so my spring boot app wants mongo-claster when transaction is executing, furthermore I'v gave it cluster thanks for docker-compose. For now another problem: It can't choice what mongo to use))) However when there's no TransactionManager everything good. May be someone else has the same problem?
great demo, I found out that the mongodb collection needs to be created before the saveAll transactional method, otherwise I get "Command failed with error 263 (OperationNotSupportedInTransaction): 'Cannot create namespace test.customer in multi-document transaction."
great
Sessions are not supported by the MongoDB cluster to which this client is connected,why?
Super
Hi, how could I save multiple records by sending a mono list as a parameter in my saveOrder method?
@PostMapping
public Mono saveOrder (@RequestBody Mono orderDtoMono) {
return service.saveOrder (orderDtoMono);
}