You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Michael Bouschen (JIRA)" <ji...@apache.org> on 2017/08/14 16:56:00 UTC

[jira] [Resolved] (JDO-760) Spec update regarding whether Query.execute() returns List or Collection

     [ https://issues.apache.org/jira/browse/JDO-760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Bouschen resolved JDO-760.
----------------------------------
    Resolution: Fixed

> Spec update regarding whether Query.execute() returns List or Collection
> ------------------------------------------------------------------------
>
>                 Key: JDO-760
>                 URL: https://issues.apache.org/jira/browse/JDO-760
>             Project: JDO
>          Issue Type: Improvement
>          Components: specification
>    Affects Versions: JDO 3.1
>            Reporter: Tilmann Zäschke
>            Assignee: Tilmann Zäschke
>            Priority: Trivial
>              Labels: documentation
>             Fix For: JDO 3.2
>
>
> The spec says in Section 14.6.1 that Query.execute() returns an unmodifiable {{List}}.
> However, the text in Section 14.3 ('uniquenes'), Section 14.10.2 and all examples in Section 14.10 suggest that a {{Collection}} is returned. I suggest updating the spec to refer to {{List}} in the listed sections.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)