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

DBRefBase should implement Serializable

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.12.0, 3.0.0
    • Affects Version/s: 2.9.3
    • Component/s: API
    • Labels:
      None

      DBRef and DBRefBase should implement Serializable to match all the other supported BSON types.

      Implementation note: Since DB instances are not serializable, the DB property is marked as transient and will not survive deserialization. As a result, deserialized DBRef instances can not be fetched using the fetch method.

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

              Created:
              Updated:
              Resolved: