Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-1690

DistinctResultList is not Serializable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.1, 2.1.0
    • Component/s: query
    • Labels:
      None

      Description

      As far as I have experienced the return types of getResultList() seem to be Serializable, therefore I would expect the same for org.apache.openjpa.kernel.DistinctResultList.
      This does not seem to be the case, since I broke my remotely exposed DAO method by adding the DISTINCT keyword to the query it executes.

      I can easily work around this by returning a new list based on the DistinctResultList, but to me this occurs as a minor inconsistency.

        Attachments

          Activity

            People

            • Assignee:
              ppoddar@apache.org Pinaki Poddar
              Reporter:
              prademak Peter Rademaker
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: