@Transactional in Spring Data MongoDB (+testcontainers)
I am failing to get the transactions to work in my basic spring data mongodb app. I’ve read articles and similar questions here and nothing seems to help. The test is being run with Testcontainers, which appears to launch Mongo with a replica set, meaning transactions should normally work. I am sure that the test config works fine at least with non-transactional code (more in the github link at the end).