Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-10814

Large Objects may not be used in auto-commit mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 10.0.0.Final
    • 10.0.0.CR3
    • Test Suite
    • None

    Description

      https://github.com/infinispan/infinispan/blob/d372a4c80d80d149aa82909cee48d4a2913d1089/persistence/jdbc/src/test/java/org/infinispan/persistence/jdbc/TableManagerTest.java#L119
      is throwing the following exception with postgres

      Large Objects may not be used in auto-commit mode
      

      To fix, we can just change:

      ps.setBlob(2, new ByteArrayInputStream(data));
      

      to

      ps.setBytes(2, data);
      

      Attachments

        Activity

          People

            gustavolira Gustavo Lira Silva
            gustavolira Gustavo Lira Silva
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: