Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-2464

StackOverflow setting a Blob

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 8.4
    • 8.0
    • JDBC Driver
    • None
    • Workaround Exists
    • Hide

      Construct a Blob to set:

      final InputStream inputStream = ...
      stmt.setBlob(2, new org.teiid.core.types.BlobImpl(new org.teiid.core.types.InputStreamFactory() {

      @Override
      public InputStream getInputStream() throws IOException

      { return inputStream; }

      }));

      Show
      Construct a Blob to set: final InputStream inputStream = ... stmt.setBlob(2, new org.teiid.core.types.BlobImpl(new org.teiid.core.types.InputStreamFactory() { @Override public InputStream getInputStream() throws IOException { return inputStream; } }));

    Description

      A regression in TEIID-174 left a recursive call in the PreparedStatement inputstream blob setter.

      Attachments

        Activity

          People

            rhn-engineering-shawkins Steven Hawkins
            rhn-engineering-shawkins Steven Hawkins
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: