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 Watzek (JIRA)" <ji...@apache.org> on 2005/11/29 11:40:30 UTC

[jira] Resolved: (JDO-223) SupportedMapMethods miss queries calling isEmpty() and size(). SupportedCollectionMethods must be extended by queries calling contains() and size().

     [ http://issues.apache.org/jira/browse/JDO-223?page=all ]
     
Michael Watzek resolved JDO-223:
--------------------------------

    Resolution: Fixed

The patch has been checked in (Revision 349701).


> 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