Uploaded image for project: 'Hibernate OGM'
  1. OGM-786

Investigate usage of MongoDB's GridFS for storing large binary data

    Details

    • Type: New Feature
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 5.x
    • Component/s: mongodb
    • Labels:
      None
    • Last commented by a user?:
      true

      Description

      With GridFS MongoDB provides a way for storing arbitrary binary files. We might use it to store "overflows" of large entities, e.g. it'd likely be a good fit for byte arrays:

      @Lob
      @BinaryStorage(GRID_FS) // Advices the dialect to store the data separately and only a pointer in the entity document
      private byte[] picture;
      

        Attachments

          Issue links

            Activity

              People

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

                Dates

                • Created:
                  Updated: