Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-4587

Support setting the default UUID representation for BasicBSONEncoder and BasicBSONDecoder

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.7.0
    • Affects Version/s: None
    • Component/s: BSON, Legacy API
    • None
    • Fully Compatible
    • Not Needed

      Both BasicBSONEncoder and BasicBSONDecoder assume a UuidRepresentation of JAVA_LEGACY in a way that is not configurable. Allow it to be configured process-wide using a static method for each class to set the default to a different UuidRepresentation.

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: