gs-accessing-data-mongodb icon indicating copy to clipboard operation
gs-accessing-data-mongodb copied to clipboard

With server 4.0, are you able to get the `@Transactional` working?

Open loudywen opened this issue 3 years ago • 0 comments

Hi, have you tried out the transactional support with the Cosmos DB API for MongoDB v4.0? I have already updated our server to 4.0, and have the MongoTransactionManager bean setup, and applied the @Transactional to the method. But I don't see anything happen. the record still being inserted and no rollback happens when an error happens.

The same code I can get it working in a pure MongoDB 4.x server

loudywen avatar Apr 20 '21 14:04 loudywen