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 "Tilmann Zäschke (JIRA)" <ji...@apache.org> on 2017/07/27 11:49:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16103094#comment-16103094 ] 

Tilmann Zäschke commented on JDO-760:
-------------------------------------

I have updated Chapter 14 of the spec with the following examples: 01b, 02b, 03a, 04b, 05a, 06b, 07b, 08c, 09c, 10c, 11c, 12b, 13c, 14c, 15c, 16c, 17b, 18b, 19b.


> 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)