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

Favor org.bson.Document over com.mongodb.BasicDBObject #221

@christophstrobl

Description

@christophstrobl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy