June 2020

Spring Boot Auto-configuration for Embedded MongoDB with Support for Transactions

By using EmbeddedMongoAutoConfiguration in Spring Boot, it is possible to test your code against a live MongoDB instance that is started and stopped automatically. In version 4.0, MongoDB supports multi-document transactions on replica sets. As of now (circa June 2020), Spring Boot doesn’t have out of the box support for testing with embedded MongoDB that… Read More »Spring Boot Auto-configuration for Embedded MongoDB with Support for Transactions