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

DistinctResultList is not Serializable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 2.0.1, 2.1.0
    • query
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: