Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.2, 5.2.2, 6.0.4 GA
    • Fix Version/s: 6.1.0 CE RC1
    • Labels:
      None
    • Environment:
      Liferay 5.2.1 and 5.2.2
      Derby DB
    • Liferay Contributor's Agreement:
      Accept

      Description

      in DLFolderFinderImpl, the static Method
      QueryUtil.iterate(...)
      is called to generate an Iterator for the results of a SQL-Query.
      Normally this should work nevertheless which DB you are using, since there is ORM. But in DLFolderFinderImpl there is no class that should be mapped. So there is just a Object[] and that is not handled well in QueryUtil for databases that don't support the SQL "limit" function, like Derby DB.
      Therefor you need som extra treatment. Therefor I created two private methods that handle the Iterator-generation, if the DB does not support "limit".

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                igor.spasic Igor Spasic
                Reporter:
                tok Tobias Kaefer (Inactive)
                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:
                  7 years, 5 weeks, 6 days ago