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/25 16:55:56 UTC
[jira] Updated: (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 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