db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Watzek (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JDO-223) SupportedMapMethods miss queries calling isEmpty() and size(). SupportedCollectionMethods must be extended by queries calling contains() and size().
Date Fri, 25 Nov 2005 15:55:56 GMT
     [ http://issues.apache.org/jira/browse/JDO-223?page=all ]

Michael Watzek updated JDO-223:
-------------------------------

    Attachment: JDO-223.patch

The attached patch fixes this issue.

Additionally, the classes have been adapted to the new result handling implemented as part
of JDO-216.


> SupportedMapMethods miss queries calling isEmpty() and size(). SupportedCollectionMethods
must be extended by queries calling contains() and size().
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: JDO-223
>          URL: http://issues.apache.org/jira/browse/JDO-223
>      Project: JDO
>         Type: Bug
>   Components: tck20
>     Reporter: Michael Watzek
>     Assignee: Michael Watzek
>  Attachments: JDO-223.patch
>
> SupportedMapMethods must be extended by queries calling isEmpty() and size():
> - SELECT FROM Person WHERE phoneNumbers.isEmpty()
> - SELECT FROM Person WHERE phoneNumbers.size() == 2
> SupportedCollectionMethods must be extended by queries calling contains() and size():
> - SELECT FROM Department WHERE employees.contains(employee) PARAMETERS Employee employee
> - SELECT FROM Department WHERE employees.size() == 3

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message