Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-58500

Cannot obtain a file with DLStoreUtil.getFileAsBytes on PostgreSQL

    Details

      Description

      Steps to reproduce

      1) Set up a portal with with Postgre 9.3
      2) Upload a file
      3) Obtain the file with: the DLStoreUtil.getFileAsBytes(long companyId, long repositoryId,String fileName) method

      Result: DLStoreUtil.getFileAsBytes returns with null and the following log message appears:

      12:52:50,159 ERROR [http-bio-8080-exec-23][JDBCExceptionReporter:82] Large Objects may not be used in auto-commit mode.
      

      It works correctly with Mysql database.

        Attachments

          Activity

            People

            Assignee:
            istvan.dezsi Istvan Dezsi
            Reporter:
            istvan.dezsi Istvan Dezsi
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              5 years, 35 weeks, 3 days ago

                Packages

                Version Package
                7.0.0 Beta 7