This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Description
Some of the newer MongoDB codecs (like the LocalDateTimeCodec) are not available for BasicDBObject which can lead to unexpected behaviour. toString() for example will fail with org.bson.codecs.configuration.CodecConfigurationException: Can't find a codec for class java.time.LocalDateTime. in case the BasicDBObject contains a value of that type.
Related to: spring-projects/spring-data-mongodb#3968