Spring Tips: Reactive Transactions in MongoDB and R2DBC

Sdílet
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

Komentáře • 11

  • @ivantrendafilov2909
    @ivantrendafilov2909 Před 4 lety

    Thanks from Bulgaria! Cool I applied it already in professional project

  • @mickyloranger
    @mickyloranger Před 5 lety

    great stuff

  • @essamal-mansouri2689
    @essamal-mansouri2689 Před 2 lety

    You have a video on literally everything I look up. It’s kinda crazy. Almost like you are me except competent.

  • @svichkar_tech
    @svichkar_tech Před 5 lety

    Cool! :)

  • @jansvajcr
    @jansvajcr Před 4 lety +1

    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?

  • @rustammamedov8299
    @rustammamedov8299 Před 4 lety

    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?

  • @ZoltanAltfatter1
    @ZoltanAltfatter1 Před 5 lety

    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."

  • @daniellaerachannel
    @daniellaerachannel Před 5 lety

    great

  • @jdoneeZeng
    @jdoneeZeng Před 5 lety

    Sessions are not supported by the MongoDB cluster to which this client is connected,why?

  • @manoharvare
    @manoharvare Před 5 lety

    Super

  • @josephjesusflorianflores7089

    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);
    }