Apache JDO Project - [jira] Updated: (JDO-223) SupportedMapMethods miss queries calling isEmpty() and size(

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > November 2005 > [jira] Updated: (JDO-223) SupportedMapMethods miss queries calling isEmpty() and size(





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Updated: (JDO-223) SupportedMapMethods miss queries calling isEmpty() and size(
Michael Watzek (JIRA)

2005-11-25, 5:45 pm

[ 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/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com