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

Large Objects may not be used in auto-commit mode

    Details

      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);
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                gliraesi Gustavo Lira Silva
                Reporter:
                gliraesi Gustavo Lira Silva
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: