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

GridFSBucket cannot use a custom id

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: 3.1.0
    • Fix Version/s: None
    • Component/s: GridFS
    • Labels:
    • Backwards Compatibility:
      Minor Change
    • Sprint:
      Java Sprint 26

      Description

      with the old GridFS api, I can use an string uuid generated from java for the file id.
      GridFSInputFile.setId("<a string uuid>")
      with the new GridFSBucket api, it seems that I have to use an ObjectId generated by the api.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: