You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Nikita Timofeev (Jira)" <ji...@apache.org> on 2023/08/24 15:17:00 UTC

[jira] [Created] (CAY-2814) Select query iterator() and batchIterator() methods return incorrect results

Nikita Timofeev created CAY-2814:
------------------------------------

             Summary: Select query iterator() and batchIterator() methods return incorrect results
                 Key: CAY-2814
                 URL: https://issues.apache.org/jira/browse/CAY-2814
             Project: Cayenne
          Issue Type: Bug
          Components: Core Library
    Affects Versions: 4.2, 4.2.RC1, 4.1.1
            Reporter: Nikita Timofeev
            Assignee: Nikita Timofeev
             Fix For: 4.2.1, 5.0.M1


Iterated queries can handle only basic results like single entity, {{Object[]}} and {{DataRow}}
everything else is missing in the processing.

This affects ColumnQuery most as it can return many more variants.

What variants are broken:
* all selects: joint prefetches
* column query: several entities or entity + some other fields
* column query: embeddables
* column query: map function (see CAY-2812)
* maybe something else (?)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)