Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-966

JPA connector attempts to compress a Binary value using GZIPInputStream (which can only read already-compressed data)

    Details

    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      Configure the JPA source to NOT use compression.

      Show
      Configure the JPA source to NOT use compression.
    • Estimated Difficulty:
      Medium

      Description

      The problem started out with MODE-958, but the underlying cause was determined to be a bug inside the JPA connector. Because of the strangeness of the Binary interface (which exposes an InputStream), we're trying to read it with a GZIPInputStream (SimpleJpaRepository line 886). But GZIPInputStream only works when the content is already in GZIP format.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rhauch Randall Hauch
                  Reporter:
                  rhauch Randall Hauch
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: